mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-24 19:01:56 +01:00
45b39c2be0
-Readded the code to paths to be able to change the path where Wii and GC games are kept. But they really should just be kept in dev:/wbfs and dev:/games. -wiiflow_lite.ini changes under [GAMECUBE] are: removed video_setting= - was used to tell wiiflow when using DML or Nintendont to set cfg args for video mode. not needed anymore. dir_usb_games= - is now - gc_games_dir= with default of %s:/games similar to wii_games_dir dm_widescreen= - is now - widescreen= screenshot= is removed. was used for DML wiiu_widescreen= is added. but only used if on a Wii U -gameconfig2.ini changes as well. -NMM and DML is still used in theme ini files. may change in a commit soon but that means all themes have to be modified, a big pain in the butt. -language and help files will need to be updated to remove all DML and NMM crap. -and default names of images for some icons and btns need to be changed but for now left them as they are. -other minor changes. Most of it untested so I hope it all works, if not then repair commits will follow.
64 lines
1.3 KiB
C
64 lines
1.3 KiB
C
|
|
#ifndef _SYS_H_
|
|
#define _SYS_H_
|
|
|
|
#include "utils.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif /* __cplusplus */
|
|
|
|
#define HBC_LULZ 0x000100014c554c5aULL
|
|
#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,
|
|
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 AHBRPOT_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
|