summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Morph2021-07-27 08:54:41 -0400
committerGravatar Morph2021-07-27 08:54:41 -0400
commitd7cd316a6c8e2438a19fc685707ea333ca6fe0db (patch)
tree9444de3ae82252535bbcf09b0ad156c2cb71e34e
parentMerge pull request #6696 from ameerj/speed-limit-rename (diff)
downloadyuzu-d7cd316a6c8e2438a19fc685707ea333ca6fe0db.tar.gz
yuzu-d7cd316a6c8e2438a19fc685707ea333ca6fe0db.tar.xz
yuzu-d7cd316a6c8e2438a19fc685707ea333ca6fe0db.zip
service: ns: Map ZH_TW and ZH_CN to Traditional/Simplified Chinese
-rw-r--r--src/core/hle/service/ns/language.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/service/ns/language.cpp b/src/core/hle/service/ns/language.cpp
index 29c4a820c..54b644830 100644
--- a/src/core/hle/service/ns/language.cpp
+++ b/src/core/hle/service/ns/language.cpp
@@ -344,8 +344,10 @@ std::optional<ApplicationLanguage> ConvertToApplicationLanguage(
344 return ApplicationLanguage::Russian; 344 return ApplicationLanguage::Russian;
345 case Set::LanguageCode::KO: 345 case Set::LanguageCode::KO:
346 return ApplicationLanguage::Korean; 346 return ApplicationLanguage::Korean;
347 case Set::LanguageCode::ZH_TW:
347 case Set::LanguageCode::ZH_HANT: 348 case Set::LanguageCode::ZH_HANT:
348 return ApplicationLanguage::TraditionalChinese; 349 return ApplicationLanguage::TraditionalChinese;
350 case Set::LanguageCode::ZH_CN:
349 case Set::LanguageCode::ZH_HANS: 351 case Set::LanguageCode::ZH_HANS:
350 return ApplicationLanguage::SimplifiedChinese; 352 return ApplicationLanguage::SimplifiedChinese;
351 default: 353 default: