From a41dcbf78aebc154863ce09259cbf00fcfee44f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20T=C3=B6rnblom?= Date: Sat, 30 Apr 2022 18:03:01 +0200 Subject: [PATCH] ps4: avoid using std::locale to detect language, and fallback to English on first run --- Source/platform/locale.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/platform/locale.cpp b/Source/platform/locale.cpp index 839b6f20d..20a6e6eaf 100644 --- a/Source/platform/locale.cpp +++ b/Source/platform/locale.cpp @@ -103,6 +103,9 @@ std::vector GetLocales() language = SCE_SYSTEM_PARAM_LANG_ENGLISH_US; // default to english locales.emplace_back(vita_locales[language]); sceAppUtilShutdown(); + +#elif defined(__ORBIS__) + // use default #elif defined(__3DS__) locales.push_back(n3ds::GetLocale()); #elif defined(_WIN32)