libogc  v2.9.0
Macros
OS reset types

Macros

#define SYS_HOTRESET   1
 
#define SYS_POWEROFF   4
 
#define SYS_POWEROFF_IDLE   6
 
#define SYS_POWEROFF_STANDBY   5
 
#define SYS_RESTART   0
 
#define SYS_RETURNTOMENU   3
 
#define SYS_SHUTDOWN   2
 

Detailed Description

Macro Definition Documentation

◆ SYS_HOTRESET

#define SYS_HOTRESET   1

Restart the application. Kind of softreset

◆ SYS_POWEROFF

#define SYS_POWEROFF   4

Powers off the Wii, automatically choosing Standby or Idle mode depending on the user's configuration

◆ SYS_POWEROFF_IDLE

#define SYS_POWEROFF_IDLE   6

Powers off the Wii to idle (yellow LED, WC24 on) mode.

◆ SYS_POWEROFF_STANDBY

#define SYS_POWEROFF_STANDBY   5

Powers off the Wii to standby (red LED, WC24 off) mode.

◆ SYS_RESTART

#define SYS_RESTART   0

Reboot the gamecube, force, if necessary, to boot the IPL menu. Cold reset is issued

◆ SYS_RETURNTOMENU

#define SYS_RETURNTOMENU   3

Directly load the Wii Channels menu, without actually cold-resetting the system

◆ SYS_SHUTDOWN

#define SYS_SHUTDOWN   2

Shutdown the thread system, card management system etc. Leave current thread running and return to caller