Boot: Automatically temporarily disable PAL60 for NTSC Wii games.

Fixes issues like https://code.google.com/p/dolphin-emu/issues/detail?id=7714 and https://code.google.com/p/dolphin-emu/issues/detail?id=8036.
This commit is contained in:
Admiral H. Curtiss 2015-06-05 21:02:53 +02:00
parent 8ffe745c09
commit 2e5e724f94
1 changed files with 6 additions and 0 deletions

View File

@ -257,6 +257,12 @@ bool BootCore(const std::string& _rFilename)
config_cache.bSetEXIDevice[1] = true; config_cache.bSetEXIDevice[1] = true;
} }
// Some NTSC Wii games such as Doc Louis's Punch-Out!! and 1942 (Virtual Console) crash if the PAL60 option is enabled
if (StartUp.bWii && StartUp.bNTSC)
{
StartUp.bPAL60 = false;
}
SConfig::GetInstance().m_SYSCONF->SetData("IPL.PGS", StartUp.bProgressive); SConfig::GetInstance().m_SYSCONF->SetData("IPL.PGS", StartUp.bProgressive);
SConfig::GetInstance().m_SYSCONF->SetData("IPL.E60", StartUp.bPAL60); SConfig::GetInstance().m_SYSCONF->SetData("IPL.E60", StartUp.bPAL60);