mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Replace "Override Language on NTSC Games" with "Allow Mismatched Region Settings"
This new setting is like Override Language on NTSC Games, except instead of only applying to the GameCube language setting, it also applies to the Wii language setting. Fixes https://bugs.dolphin-emu.org/issues/11299
This commit is contained in:
parent
b88e5610ab
commit
561a4cfcce
18 changed files with 87 additions and 51 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue