WiiFlow_Lite/source/loader/sys.h
fix94.1 08a298b0b7 -using cfg-loader entry point now, its a bit lower ;)
-clearing screen properly now, no green screens or things like this
-added a few more low mem settings, fixed a missing flush in set
video mode (thanks dimok)
-partially clearing mem1 too now, using the code of cfg-loader for that
(thanks)
-using asm volatile instead of __asm__ to really call what we want
(thanks dimok for explaination)
-deiniting usb device properly
-shutting down system properly now on game boot, games should boot
more often now, its still not fully fixed
2012-05-15 21:33:53 +00:00

38 lines
686 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 PRIILOADER_DEF 0
#define EXIT_TO_MENU 1
#define EXIT_TO_HBC 2
#define EXIT_TO_PRIILOADER 3
#define EXIT_TO_DISABLE 4
#define EXIT_TO_BOOTMII 5
/* 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 Sys_Shutdown(void);
void Open_Inputs(void);
void Close_Inputs(void);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif