file_sys: control_metadata: Add BrazilianPortuguese

This commit is contained in:
Morph 2021-10-28 20:04:33 -04:00
parent e4052a1dab
commit baf599c1d3
2 changed files with 4 additions and 2 deletions

View file

@ -9,7 +9,7 @@
namespace FileSys { namespace FileSys {
const std::array<const char*, 15> LANGUAGE_NAMES{{ const std::array<const char*, 16> LANGUAGE_NAMES{{
"AmericanEnglish", "AmericanEnglish",
"BritishEnglish", "BritishEnglish",
"Japanese", "Japanese",
@ -25,6 +25,7 @@ const std::array<const char*, 15> LANGUAGE_NAMES{{
"Korean", "Korean",
"Taiwanese", "Taiwanese",
"Chinese", "Chinese",
"BrazilianPortuguese",
}}; }};
std::string LanguageEntry::GetApplicationName() const { std::string LanguageEntry::GetApplicationName() const {

View file

@ -88,11 +88,12 @@ enum class Language : u8 {
Korean = 12, Korean = 12,
Taiwanese = 13, Taiwanese = 13,
Chinese = 14, Chinese = 14,
BrazilianPortuguese = 15,
Default = 255, Default = 255,
}; };
extern const std::array<const char*, 15> LANGUAGE_NAMES; extern const std::array<const char*, 16> LANGUAGE_NAMES;
// A class representing the format used by NX metadata files, typically named Control.nacp. // A class representing the format used by NX metadata files, typically named Control.nacp.
// These store application name, dev name, title id, and other miscellaneous data. // These store application name, dev name, title id, and other miscellaneous data.