SSBM Decomp
Loading...
Searching...
No Matches
OSReset.h
Go to the documentation of this file.
1#ifndef DOLPHIN_OS_OSRESET_H
2#define DOLPHIN_OS_OSRESET_H
3
4#include <platform.h>
5
6#include <dolphin/os.h>
7
9
17
18void OSResetSystem(int reset, u32 resetCode, bool forceMenu);
20void __OSDoHotReset(s32 arg0);
21
23#define OS_RESET_RESTART 0
24#define OS_RESET_HOTRESET 1
25#define OS_RESET_SHUTDOWN 2
26
27bool __OSCallResetFunctions(bool funcs_arg);
29
30#endif
void OSResetSystem(int reset, u32 resetCode, bool forceMenu)
Definition OSReset.c:111
bool(* OSResetFunction)(bool)
Definition OSReset.h:8
void OSRegisterResetFunction(OSResetFunctionInfo *func)
Definition OSReset.c:21
bool __OSCallResetFunctions(bool funcs_arg)
Definition OSReset.c:71
void __OSDoHotReset(s32 arg0)
Definition OSReset.c:103
u32 OSGetResetCode(void)
Definition OSReset.c:171
static void reset(HSD_GObj *gobj)
Definition ftPe_SpecialN.c:146
unsigned long u32
An unsigned 32-bit integer.
Definition platform.h:26
signed long s32
A signed 32-bit integer.
Definition platform.h:14
void(* func)(void)
Definition state.c:134
int bool
A signed integer used to contain boolean values.
Definition stdbool.h:8
Definition OSReset.h:11
u32 priority
Definition OSReset.h:13
OSResetFunction func
Definition OSReset.h:12
OSResetFunctionInfo * prev
Definition OSReset.h:15
OSResetFunctionInfo * next
Definition OSReset.h:14