From a2ca4841e903e55c4cf545f7c2039514a65e31ee Mon Sep 17 00:00:00 2001 From: "Admiral H. Curtiss" Date: Thu, 4 Jun 2015 13:55:32 +0200 Subject: [PATCH] Properly set default video mode for PAL Wii games. See https://github.com/dolphin-emu/dolphin/pull/2520 for a more detailed explanation. --- Source/Core/Core/Boot/Boot.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Source/Core/Core/Boot/Boot.cpp b/Source/Core/Core/Boot/Boot.cpp index b941cf1c32..75d1481887 100644 --- a/Source/Core/Core/Boot/Boot.cpp +++ b/Source/Core/Core/Boot/Boot.cpp @@ -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("IPL.E60"); + VideoInterface::Preset(_StartupPara.bNTSC || bPAL60); + switch (_StartupPara.m_BootType) { // GCM and Wii