mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-30 22:01:55 +01:00
37787dbcd9
- Fixed Nand Emulation from SD-card. - Fixed "CheckSave" functions. - Fixed feature to flash a save file from emulated NAND back to real NAND. - Some minor code cleanups and bug fixes. neek2o: (neek2o r93+ only) - Fixed return to channel function for titles on emulated NAND - Added an option in wiiflow.ini: launchwiiflow in "NEEK2O" domain If this option is set to "no" the "exit to" option in home menu will launch neek2o SM instead of the "DWFA" channel. - If the return to channel option is set.. neek2o will return to that specific title if that title exists on the emulated nand, even if the title was launched from real NAND.
52 lines
906 B
C
52 lines
906 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_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);
|
|
extern void __exception_setreload(int t);
|
|
extern int mainIOS;
|
|
extern bool useMainIOS;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif /* __cplusplus */
|
|
|
|
#endif
|