Merge pull request #5008 from ligfx/aspectheuristic

VideoCommon: rework anamorphic widescreen heuristic
This commit is contained in:
Scott Mansell 2017-04-10 11:30:34 +12:00 committed by GitHub
commit e6476b805e
9 changed files with 80 additions and 46 deletions

View file

@ -290,13 +290,11 @@ bool BootCore(const std::string& _rFilename)
}
}
Core::g_aspect_wide = StartUp.bWii;
// Wii settings
if (StartUp.bWii)
{
IniFile::Section* wii_section = game_ini.GetOrCreateSection("Wii");
wii_section->Get("Widescreen", &Core::g_aspect_wide, !!StartUp.m_wii_aspect_ratio);
wii_section->Get("Widescreen", &StartUp.m_wii_aspect_ratio, !!StartUp.m_wii_aspect_ratio);
wii_section->Get("Language", &StartUp.m_wii_language, StartUp.m_wii_language);
int source;