Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
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#ifdef __REVOLUTION_SDK__
6#else
7#include <dolphin/types.h>
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13#define OS_RESET_RESTART 0
14#define OS_RESET_HOTRESET 1
15#define OS_RESET_SHUTDOWN 2
16
22
24
31
34void OSResetSystem(int reset, u32 resetCode, BOOL forceMenu);
36u32 OSSetBootDol(u32 dolOffset);
37
38#ifdef __cplusplus
39}
40#endif
41
42#endif
43#endif
struct OSResetFunctionQueue OSResetFunctionQueue
BOOL(* OSResetFunction)(BOOL)
Definition OSReset.h:23
u32 OSSetBootDol(u32 dolOffset)
Definition OSReset.c:242
void OSUnregisterResetFunction(OSResetFunctionInfo *info)
Definition OSReset.c:73
void OSRegisterResetFunction(OSResetFunctionInfo *info)
Definition OSReset.c:67
int BOOL
Definition types.h:33
unsigned long u32
Definition types.h:12
void OSResetSystem(int reset, u32 resetCode, BOOL forceMenu)
Definition OSReset.c:193
u32 OSGetResetCode()
Definition OSReset.c:232
Definition OSReset.h:25
u32 priority
Definition OSReset.h:27
OSResetFunction func
Definition OSReset.h:26
OSResetFunctionInfo * prev
Definition OSReset.h:29
OSResetFunctionInfo * next
Definition OSReset.h:28
Definition OSReset.h:18
OSResetFunctionInfo * head
Definition OSReset.h:19
OSResetFunctionInfo * tail
Definition OSReset.h:20