mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-11 16:49:27 +01:00
More command line improvements
This commit is contained in:
1 parent
3139d7ccfe
commit
5ef736f6a7
8 files changed
+52
-46
No files matched your search
+1
-1
@@ -99,7 +99,7 @@ std::string DefaultLangRegion() {
|
||||
// Unfortunate default. There's no need to use bFirstRun, since this is only a default.
|
||||
static std::string defaultLangRegion = "en_US";
|
||||
std::string langRegion = System_GetProperty(SYSPROP_LANGREGION);
|
||||
if (g_i18nrepo.IniExists(langRegion)) {
|
||||
if (!langRegion.empty() && g_i18nrepo.IniExists(langRegion)) {
|
||||
defaultLangRegion = langRegion;
|
||||
} else if (langRegion.length() >= 3) {
|
||||
// Don't give up. Let's try a fuzzy match - so nl_BE can match nl_NL.
|
||||
|
||||
Reference in new issue
Block a user