WiiFlow_Lite/source/loader/sys.h
fledge68 9e85032382 * decided to officially commit my recent update patches *
- fixed gc ciso games to show and launch via WFL. thanks CokeCookie for getting me to fix it. note banners do not show for ciso games unless you use a custom gc banner.
- added (for wii u vwii) to be able to select Wii U channel as the exit to choice either via main cfg pg 4 exit to option or home menu>exit to menu and select wii u menu. 
- removed priiloader and bootmii as exit to options when on wii u vwii
- added random select game option. manually edit wiiflow_lite.ini and under [GENERAL] set "random_select" to yes then while in wiiflow lite main screen hold B and press '-' to have WFL random select a game instead of random boot a game.
- removed region change from savenand emulation types. why? because according to overjoy's commit he said it didn't work yet. it was for a future version of d2x cios when davebaol added it to d2x cios. i looked at all the d2x cios commits from that date to present and didn't see that it was ever added. if i'm wrong someone let me know and i will add it back into wfl.
- made some small bootup changes in case of errors on bootup.
- made some changes to the way wiiflow lite handles emunand switching and other minor emunand code editing.
2017-09-21 22:03:41 +00:00

67 lines
1.4 KiB
C

#ifndef _SYS_H_
#define _SYS_H_
#include "utils.h"
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#define HBC_OHBC 0x000100014f484243ULL//1.1.3
#define HBC_LULZ 0x000100014c554c5aULL//1.1.1
#define HBC_108 0x00010001af1bf516ULL
#define HBC_JODI 0x000100014a4f4449ULL
#define HBC_HAXX 0x0001000148415858ULL
#define RETURN_CHANNEL 0x0001000857494948ULL
#define SYSTEM_MENU 0x0000000100000002ULL
#define WIIU_CHANNEL 0x0001000248435641ULL//HCVA
enum
{
PRIILOADER_DEF = 0,
EXIT_TO_MENU,
EXIT_TO_HBC,
EXIT_TO_WIIU,
EXIT_TO_PRIILOADER,
//EXIT_TO_DISABLE,
EXIT_TO_BOOTMII,
EXIT_TO_WFNK2O,
EXIT_TO_SMNK2O,
BUTTON_CALLBACK,
WIIFLOW_DEF,
};
/* Prototypes */
void Sys_Init(void);
bool Sys_DolphinMode(void);
bool Sys_HW_Access(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 AHBPROT_Patched(void);
bool IsOnWiiU(void);
/* All our extern C stuff */
extern void __exception_setreload(int t);
extern int mainIOS;
extern bool useMainIOS;
extern volatile bool NANDemuView;
extern volatile bool networkInit;
extern u8 currentPartition;
extern u8 currentPort;
extern char wii_games_dir[];
extern char gc_games_dir[];
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif