SSBM Decomp
Loading...
Searching...
No Matches
OSReset.h
Go to the documentation of this file.
1#ifndef _DOLPHIN_OSRESET_H_
2#define _DOLPHIN_OSRESET_H_
3
4#include <dolphin/types.h>
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10#define OS_RESET_RESTART 0
11#define OS_RESET_HOTRESET 1
12#define OS_RESET_SHUTDOWN 2
13
18
20
29
32void OSResetSystem(int reset, u32 resetCode, BOOL forceMenu);
33unsigned long OSGetResetCode();
34
35#ifdef __cplusplus
36}
37#endif
38
39#endif
unsigned long OSGetResetCode()
BOOL(* OSResetFunction)(BOOL)
Definition OSReset.h:19
void OSResetSystem(int reset, u32 resetCode, BOOL forceMenu)
void OSUnregisterResetFunction(OSResetFunctionInfo *info)
void OSRegisterResetFunction(OSResetFunctionInfo *info)
int BOOL
Definition types.h:20
unsigned long u32
Definition types.h:9
static void reset(HSD_GObj *gobj)
Definition ftPe_SpecialN.c:146
Definition OSReset.h:23
u32 priority
Definition OSReset.h:25
OSResetFunction func
Definition OSReset.h:24
OSResetFunctionInfo * prev
Definition OSReset.h:27
OSResetFunctionInfo * next
Definition OSReset.h:26
Definition OSReset.h:14
struct OSResetFunctionInfo * tail
Definition OSReset.h:16
struct OSResetFunctionInfo * head
Definition OSReset.h:15