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
28
31void OSResetSystem(int reset, u32 resetCode, BOOL forceMenu);
32unsigned long OSGetResetCode();
33
34#ifdef __cplusplus
35}
36#endif
37
38#endif
unsigned long OSGetResetCode()
Definition OSReset.c:215
BOOL(* OSResetFunction)(BOOL)
Definition OSReset.h:19
void OSResetSystem(int reset, u32 resetCode, BOOL forceMenu)
void OSUnregisterResetFunction(OSResetFunctionInfo *info)
Definition OSReset.c:72
void OSRegisterResetFunction(OSResetFunctionInfo *info)
Definition OSReset.c:65
static void reset(HSD_GObj *gobj)
Definition ftpeachspecialn.c:146
int BOOL
Definition types.h:25
unsigned int u32
Definition types.h:13
Definition OSReset.h:22
u32 priority
Definition OSReset.h:24
OSResetFunction func
Definition OSReset.h:23
OSResetFunctionInfo * prev
Definition OSReset.h:26
OSResetFunctionInfo * next
Definition OSReset.h:25
Definition OSReset.h:14
struct OSResetFunctionInfo * tail
Definition OSReset.h:16
struct OSResetFunctionInfo * head
Definition OSReset.h:15