Loading [MathJax]/extensions/tex2jax.js
Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
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
19
21
28
31void OSResetSystem(int reset, u32 resetCode, BOOL forceMenu);
33u32 OSSetBootDol(u32 dolOffset);
34
35#ifdef __cplusplus
36}
37#endif
38
39#endif
struct OSResetFunctionQueue OSResetFunctionQueue
BOOL(* OSResetFunction)(BOOL)
Definition OSReset.h:20
void OSResetSystem(int reset, u32 resetCode, BOOL forceMenu)
Definition OSReset.c:193
u32 OSSetBootDol(u32 dolOffset)
Definition OSReset.c:242
void OSUnregisterResetFunction(OSResetFunctionInfo *info)
Definition OSReset.c:73
void OSRegisterResetFunction(OSResetFunctionInfo *info)
Definition OSReset.c:67
u32 OSGetResetCode()
Definition OSReset.c:232
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:15
OSResetFunctionInfo * head
Definition OSReset.h:16
OSResetFunctionInfo * tail
Definition OSReset.h:17
int BOOL
Definition types.h:30
unsigned long u32
Definition types.h:9