Properly set default video mode for PAL Wii games.

See https://github.com/dolphin-emu/dolphin/pull/2520 for a more detailed explanation.
This commit is contained in:
Admiral H. Curtiss 2015-06-04 13:55:32 +02:00
parent f5b0468179
commit a2ca4841e9

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