mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-25 03:11:58 +01:00
-added force progressive patch to dml games, just set
the game to PAL480p/NTSC480p to enable it, only works with dml v1.3 or newer.
This commit is contained in:
parent
068d45dbf6
commit
eb0b3e68de
@ -145,7 +145,7 @@ int GC_GameIsInstalled(char *discid, const char* partition, const char* dmlgamed
|
||||
return 0;
|
||||
}
|
||||
|
||||
void DML_New_SetOptions(char *GamePath, char *CheatPath, char *NewCheatPath, bool cheats, bool debugger, u8 NMM, u8 nodisc) //, u8 DMLvideoMode)
|
||||
void DML_New_SetOptions(char *GamePath, char *CheatPath, char *NewCheatPath, bool cheats, bool debugger, u8 NMM, u8 nodisc, u8 DMLvideoMode)
|
||||
{
|
||||
gprintf("Wiiflow DML: Launch game 'sd:/games/%s/game.iso' through memory (new method)\n", GamePath);
|
||||
|
||||
@ -194,16 +194,8 @@ void DML_New_SetOptions(char *GamePath, char *CheatPath, char *NewCheatPath, boo
|
||||
if(nodisc > 0)
|
||||
DMLCfg->Config |= DML_CFG_NODISC;
|
||||
|
||||
/*
|
||||
if(DMLvideoMode == 1)
|
||||
DMLCfg->VideoMode |= DML_VID_FORCE_PAL50;
|
||||
else if(DMLvideoMode == 2)
|
||||
DMLCfg->VideoMode |= DML_VID_FORCE_NTSC;
|
||||
else if(DMLvideoMode == 3)
|
||||
DMLCfg->VideoMode |= DML_VID_FORCE_PAL60;
|
||||
else
|
||||
DMLCfg->VideoMode |= DML_VID_FORCE_PROG;
|
||||
*/
|
||||
if(DMLvideoMode > 3)
|
||||
DMLCfg->VideoMode |= DML_VID_PROG_PATCH;
|
||||
|
||||
//Write options into memory
|
||||
memcpy((void *)0xC0001700, DMLCfg, sizeof(DML_CFG));
|
||||
|
@ -48,7 +48,7 @@ enum dmlvideomode
|
||||
void GC_SetVideoMode(u8 videomode);
|
||||
void GC_SetLanguage(u8 lang);
|
||||
int GC_GameIsInstalled(char *discid, const char* partition, const char* dmlgamedir);
|
||||
void DML_New_SetOptions(char *GamePath, char *CheatPath, char *NewCheatPath, bool cheats, bool debugger, u8 NMM, u8 nodisc); //, u8 DMLvideoMode);
|
||||
void DML_New_SetOptions(char *GamePath, char *CheatPath, char *NewCheatPath, bool cheats, bool debugger, u8 NMM, u8 nodisc, u8 DMLvideoMode);
|
||||
void DML_Old_SetOptions(char *GamePath, char *CheatPath, char *NewCheatPath, bool cheats);
|
||||
void DML_New_SetBootDiscOption();
|
||||
#endif //GC_H_
|
||||
|
@ -731,7 +731,7 @@ void CMenu::_launchGC(dir_discHdr *hdr, bool DML)
|
||||
}
|
||||
|
||||
if(m_new_dml)
|
||||
DML_New_SetOptions(hdr->path, CheatPath, NewCheatPath, cheats, DML_debug, NMM, nodisc); //, DMLvideoMode);
|
||||
DML_New_SetOptions(hdr->path, CheatPath, NewCheatPath, cheats, DML_debug, NMM, nodisc, DMLvideoMode);
|
||||
else
|
||||
DML_Old_SetOptions(hdr->path, CheatPath, NewCheatPath, cheats);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user