diff options
| author | Léo Lam <leo@innovatetechnologi.es> | 2019-05-01 17:37:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-01 17:37:31 +0200 |
| commit | bec85a09623e11493d58a0fcb5acb898604c0cd7 (patch) | |
| tree | a9bfe36dd4c425dab59bce4e29b3454820750eab /Source/Core/UICommon/GameFile.cpp | |
| parent | ef88dd73b32b4de7b3ea509957a1f315662c0d0f (diff) | |
| parent | fbe7892bd2c50b3eb920b4f6a0a5d3fdd1010278 (diff) | |
Merge pull request #8013 from JosJuice/titledatabase-japanese-gc
Show Japanese GC games in Japanese when using TitleDatabase
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 254d19bdf7..b990b744ca 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 |
