mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-01-23 04:11:13 +01:00
Update available languages to those post 10.1.0
Brazilian Portuguese has been added in firmware version 10.1.0
This commit is contained in:
parent
3fffde3061
commit
3c5509e52a
@ -10,7 +10,7 @@ namespace skyline {
|
|||||||
|
|
||||||
namespace constant {
|
namespace constant {
|
||||||
constexpr size_t OldLanguageCodeListSize{15}; //!< The size of the pre 4.0.0 language code list
|
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 {
|
namespace languages {
|
||||||
@ -32,6 +32,7 @@ namespace skyline {
|
|||||||
util::MakeMagic<LanguageCode>("es-419"),
|
util::MakeMagic<LanguageCode>("es-419"),
|
||||||
util::MakeMagic<LanguageCode>("zh-Hans"),
|
util::MakeMagic<LanguageCode>("zh-Hans"),
|
||||||
util::MakeMagic<LanguageCode>("zh-Hant"),
|
util::MakeMagic<LanguageCode>("zh-Hant"),
|
||||||
|
util::MakeMagic<LanguageCode>("pt-BR"),
|
||||||
};
|
};
|
||||||
|
|
||||||
constexpr LanguageCode GetLanguageCode(SystemLanguage language) {
|
constexpr LanguageCode GetLanguageCode(SystemLanguage language) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user