From 3c5509e52a825943575b8d584c772f179f1b242b Mon Sep 17 00:00:00 2001 From: sspacelynx <37104290+sspacelynx@users.noreply.github.com> Date: Thu, 12 Aug 2021 11:56:23 +0200 Subject: [PATCH] Update available languages to those post 10.1.0 Brazilian Portuguese has been added in firmware version 10.1.0 --- app/src/main/cpp/skyline/common/languages.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/cpp/skyline/common/languages.h b/app/src/main/cpp/skyline/common/languages.h index ce6e40ef..cfdff685 100644 --- a/app/src/main/cpp/skyline/common/languages.h +++ b/app/src/main/cpp/skyline/common/languages.h @@ -10,7 +10,7 @@ namespace skyline { namespace constant { constexpr size_t OldLanguageCodeListSize{15}; //!< The size of the pre 4.0.0 language code list - constexpr size_t NewLanguageCodeListSize{17}; //!< The size of the post 4.0.0 language code list + constexpr size_t NewLanguageCodeListSize{18}; //!< The size of the post 10.1.0 language code list (was 17 between 4.0.0 - 10.1.0) } namespace languages { @@ -32,6 +32,7 @@ namespace skyline { util::MakeMagic("es-419"), util::MakeMagic("zh-Hans"), util::MakeMagic("zh-Hant"), + util::MakeMagic("pt-BR"), }; constexpr LanguageCode GetLanguageCode(SystemLanguage language) {