WiiFlow_Lite/source/gc/gc.h
fix94.1 b686ac1540 -added per game option for NMM (not enough space for
a global option, so if set to default it will use the
setting from wiiflow.ini called dml_nmm in DML section,
0 means disabled, 1 means enabled and 2 means debug)
-nand emu is now for sure compatible with d2x v9+ :P
-updated english.ini
-updated frensh.ini (thanks Jiiwah), italian.ini (thanks
xFede) and japanese.ini (thanks hosigumayuugi)
(3 language updates don't contain new NMM options)
2012-03-12 16:14:56 +00:00

53 lines
1.1 KiB
C

#ifdef __cplusplus
extern "C"
{
#endif
#ifndef GC_H_
#define GC_H_
typedef struct DML_CFG
{
u32 Magicbytes; //0xD1050CF6
u32 CfgVersion; //0x00000001
u32 VideoMode;
u32 Config;
char GamePath[255];
char CheatPath[255];
} DML_CFG;
enum dmlconfig
{
DML_CFG_CHEATS = (1<<0),
DML_CFG_DEBUGGER = (1<<1),
DML_CFG_DEBUGWAIT = (1<<2),
DML_CFG_NMM = (1<<3),
DML_CFG_NMM_DEBUG = (1<<4),
DML_CFG_GAME_PATH = (1<<5),
DML_CFG_CHEAT_PATH = (1<<6),
DML_CFG_ACTIVITY_LED= (1<<7),
DML_CFG_PADHOOK = (1<<8),
};
enum dmlvideomode
{
DML_VID_DML_AUTO = (0<<16),
DML_VID_FORCE = (1<<16),
DML_VID_NONE = (2<<16),
DML_VID_FORCE_PAL50 = (1<<0),
DML_VID_FORCE_PAL60 = (1<<1),
DML_VID_FORCE_NTSC = (1<<2),
DML_VID_FORCE_PROG = (1<<3),
};
void GC_SetVideoMode(int i);
void GC_SetLanguage(u8 lang);
bool GC_GameIsInstalled(char *discid, const char* partition, const char* dmlgamedir);
void DML_New_SetOptions(char *GamePath, char *CheatPath, char *NewCheatPath, bool debugger, u8 NMM, bool cheats);
void DML_Old_SetOptions(char *GamePath, char *CheatPath, char *NewCheatPath, bool cheats);
#endif //GC_H_
#ifdef __cplusplus
}
#endif