diff options
| author | JosJuice <josjuice@gmail.com> | 2019-04-20 12:11:21 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2019-04-20 12:12:35 +0200 |
| commit | e98f5fe66534e21c85b6cfa028eade0c61447d5b (patch) | |
| tree | 43b3392678ff7a1bb0775407fb569b33cdd979ea /Source/Core/UICommon/GameFile.cpp | |
| parent | 861472efdf98458e75989c1a197e0be903087eeb (diff) | |
Show Japanese GC games in Japanese when using TitleDatabase
Because the GC language setting cannot be set to Japanese, we
need a special condition for Japanese GC games. I accidentally
removed it in PR 7816, but here it is again in a new form.
We could do the same thing with Korean GC games if we want to
(which we couldn't do before PR 7816), but due to how spotty
GameTDB is with having Korean names for Korean GC releases,
things will be more consistent if we just use English for them.
Diffstat (limited to 'Source/Core/UICommon/GameFile.cpp')
| -rw-r--r-- | Source/Core/UICommon/GameFile.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/UICommon/GameFile.cpp b/Source/Core/UICommon/GameFile.cpp index b963450cc7..1ac107e3cf 100644 --- a/Source/Core/UICommon/GameFile.cpp +++ b/Source/Core/UICommon/GameFile.cpp @@ -60,6 +60,9 @@ static 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 |
