mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-06-16 13:59:42 -04:00
26 lines
438 B
C
26 lines
438 B
C
#ifndef OSRESET_H
|
|
#define OSRESET_H
|
|
|
|
#include "types.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define OS_RESETCODE_RESTART 0x80000000
|
|
|
|
#define OS_RESET_RESTART 0
|
|
#define OS_RESET_HOTRESET 1 /* Soft reset */
|
|
#define OS_RESET_SHUTDOWN 2
|
|
|
|
u32 OSGetResetCode();
|
|
void OSResetSystem(int reset, u32 resetCode, BOOL forceMenu);
|
|
BOOL OSGetResetSwitchState();
|
|
void OSGetSaveRegion(void** start, void** end);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|