2012-06-14 17:27:57 +02:00
|
|
|
|
2012-01-21 21:57:41 +01:00
|
|
|
#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
|
2012-05-27 18:37:52 +02:00
|
|
|
#define RETURN_CHANNEL 0x0001000857494948ULL
|
|
|
|
#define SYSTEM_MENU 0x0000000100000002ULL
|
2012-01-21 21:57:41 +01:00
|
|
|
|
2012-08-22 21:09:21 +02:00
|
|
|
enum
|
|
|
|
{
|
|
|
|
PRIILOADER_DEF = 0,
|
|
|
|
EXIT_TO_MENU,
|
|
|
|
EXIT_TO_HBC,
|
|
|
|
EXIT_TO_PRIILOADER,
|
|
|
|
EXIT_TO_DISABLE,
|
|
|
|
EXIT_TO_BOOTMII,
|
|
|
|
EXIT_TO_NEEK2O,
|
|
|
|
};
|
2012-01-21 21:57:41 +01:00
|
|
|
|
2012-05-19 14:29:24 +02:00
|
|
|
/* Prototypes */
|
|
|
|
void Sys_Init(void);
|
|
|
|
void Sys_LoadMenu(void);
|
|
|
|
bool Sys_Exiting(void);
|
|
|
|
void Sys_Test(void);
|
|
|
|
void Sys_Exit(void);
|
|
|
|
void Sys_ExitTo(int);
|
|
|
|
|
|
|
|
void Open_Inputs(void);
|
|
|
|
void Close_Inputs(void);
|
2012-01-21 21:57:41 +01:00
|
|
|
|
2012-08-25 17:10:57 +02:00
|
|
|
bool AHBRPOT_Patched(void);
|
2012-08-24 00:29:15 +02:00
|
|
|
extern void __exception_setreload(int t);
|
|
|
|
extern int mainIOS;
|
2012-08-24 20:01:40 +02:00
|
|
|
extern bool useMainIOS;
|
2012-08-24 00:29:15 +02:00
|
|
|
|
2012-01-21 21:57:41 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
|
|
#endif
|