Merge pull request from AdmiralCurtiss/wii-pal60

Properly set default video mode for PAL Wii games.
This commit is contained in:
skidau 2015-06-06 10:42:42 +10:00
commit 2f577e147b
1 changed files with 5 additions and 1 deletions
Source/Core/Core/Boot

View File

@ -226,7 +226,11 @@ bool CBoot::BootUp()
NOTICE_LOG(BOOT, "Booting %s", _StartupPara.m_strFilename.c_str());
g_symbolDB.Clear();
VideoInterface::Preset(_StartupPara.bNTSC);
// PAL Wii uses NTSC framerate and linecount in 60Hz modes
const bool bPAL60 = _StartupPara.bWii && SConfig::GetInstance().m_SYSCONF->GetData<u8>("IPL.E60");
VideoInterface::Preset(_StartupPara.bNTSC || bPAL60);
switch (_StartupPara.m_BootType)
{
// GCM and Wii