diff options
| author | 2021-10-28 20:04:33 -0400 | |
|---|---|---|
| committer | 2021-10-28 20:05:26 -0400 | |
| commit | baf599c1d3daa365e84fda3c58cab2cc9c82636d (patch) | |
| tree | cf25e92fd41c4dde6f2f86c47c61b2c9d55e5ea3 /src | |
| parent | ns: language: Add BrazilianPortuguese to ApplicationLanguage (diff) | |
| download | yuzu-baf599c1d3daa365e84fda3c58cab2cc9c82636d.tar.gz yuzu-baf599c1d3daa365e84fda3c58cab2cc9c82636d.tar.xz yuzu-baf599c1d3daa365e84fda3c58cab2cc9c82636d.zip | |
file_sys: control_metadata: Add BrazilianPortuguese
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/file_sys/control_metadata.cpp | 3 | ||||
| -rw-r--r-- | src/core/file_sys/control_metadata.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/core/file_sys/control_metadata.cpp b/src/core/file_sys/control_metadata.cpp index f66759815..05936f3c3 100644 --- a/src/core/file_sys/control_metadata.cpp +++ b/src/core/file_sys/control_metadata.cpp | |||
| @@ -9,7 +9,7 @@ | |||
| 9 | 9 | ||
| 10 | namespace FileSys { | 10 | namespace FileSys { |
| 11 | 11 | ||
| 12 | const std::array<const char*, 15> LANGUAGE_NAMES{{ | 12 | const std::array<const char*, 16> LANGUAGE_NAMES{{ |
| 13 | "AmericanEnglish", | 13 | "AmericanEnglish", |
| 14 | "BritishEnglish", | 14 | "BritishEnglish", |
| 15 | "Japanese", | 15 | "Japanese", |
| @@ -25,6 +25,7 @@ const std::array<const char*, 15> LANGUAGE_NAMES{{ | |||
| 25 | "Korean", | 25 | "Korean", |
| 26 | "Taiwanese", | 26 | "Taiwanese", |
| 27 | "Chinese", | 27 | "Chinese", |
| 28 | "BrazilianPortuguese", | ||
| 28 | }}; | 29 | }}; |
| 29 | 30 | ||
| 30 | std::string LanguageEntry::GetApplicationName() const { | 31 | std::string LanguageEntry::GetApplicationName() const { |
diff --git a/src/core/file_sys/control_metadata.h b/src/core/file_sys/control_metadata.h index dd9837cf5..af2b723df 100644 --- a/src/core/file_sys/control_metadata.h +++ b/src/core/file_sys/control_metadata.h | |||
| @@ -88,11 +88,12 @@ enum class Language : u8 { | |||
| 88 | Korean = 12, | 88 | Korean = 12, |
| 89 | Taiwanese = 13, | 89 | Taiwanese = 13, |
| 90 | Chinese = 14, | 90 | Chinese = 14, |
| 91 | BrazilianPortuguese = 15, | ||
| 91 | 92 | ||
| 92 | Default = 255, | 93 | Default = 255, |
| 93 | }; | 94 | }; |
| 94 | 95 | ||
| 95 | extern const std::array<const char*, 15> LANGUAGE_NAMES; | 96 | extern const std::array<const char*, 16> LANGUAGE_NAMES; |
| 96 | 97 | ||
| 97 | // A class representing the format used by NX metadata files, typically named Control.nacp. | 98 | // A class representing the format used by NX metadata files, typically named Control.nacp. |
| 98 | // These store application name, dev name, title id, and other miscellaneous data. | 99 | // These store application name, dev name, title id, and other miscellaneous data. |