Merge pull request #8222 from JosJuice/allow-mismatched-region-settings

Replace "Override Language on NTSC Games" with "Allow Mismatched Region Settings"
This commit is contained in:
Anthony
2019-08-21 09:00:06 -07:00
committed by GitHub
23 changed files with 167 additions and 53 deletions

View File

@ -61,15 +61,12 @@ bool UseGameCovers()
DiscIO::Language GameFile::GetConfigLanguage() const
{
if (m_platform == DiscIO::Platform::GameCubeDisc && m_country == DiscIO::Country::Japan)
return DiscIO::Language::Japanese;
#ifdef ANDROID
// TODO: Make the Android app load the config at app start instead of emulation start
// so that we can access the user's preference here
return DiscIO::Language::English;
#else
return SConfig::GetInstance().GetCurrentLanguage(DiscIO::IsWii(m_platform));
return SConfig::GetInstance().GetLanguageAdjustedForRegion(DiscIO::IsWii(m_platform), m_region);
#endif
}