WiiFlow_Lite/source/loader/sys.h
fix94.1 f61d9dac0c -lets give the game sound thread its own stack again to hopefully
fix that strange missing pointer problem
-fixed detection of devolution r168 or newer
-cleaned up the devolution code and added a few debug prints
2012-11-17 17:30:24 +00:00

56 lines
992 B
C

#ifndef _SYS_H_
#define _SYS_H_
#include "utils.h"
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#define HBC_108 0x00010001af1bf516ULL
#define HBC_JODI 0x0001000148415858ULL
#define HBC_HAXX 0x000100014a4f4449ULL
#define RETURN_CHANNEL 0x0001000857494948ULL
#define SYSTEM_MENU 0x0000000100000002ULL
enum
{
PRIILOADER_DEF = 0,
EXIT_TO_MENU,
EXIT_TO_HBC,
EXIT_TO_PRIILOADER,
EXIT_TO_DISABLE,
EXIT_TO_BOOTMII,
EXIT_TO_WFNK2O,
EXIT_TO_SMNK2O,
BUTTON_CALLBACK,
};
/* Prototypes */
void Sys_Init(void);
void Sys_Shutdown(void);
bool Sys_DolphinMode(void);
bool Sys_Exiting(void);
void Sys_Exit(void);
void Sys_ExitTo(int);
int Sys_GetExitTo(void);
void Sys_SetNeekPath(const char*);
void Open_Inputs(void);
void Close_Inputs(void);
bool AHBRPOT_Patched(void);
/* All our extern C stuff */
extern void __exception_setreload(int t);
extern int mainIOS;
extern bool useMainIOS;
extern u8 currentPartition;
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif