summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/file_sys/control_metadata.cpp3
-rw-r--r--src/core/file_sys/control_metadata.h3
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
10namespace FileSys { 10namespace FileSys {
11 11
12const std::array<const char*, 15> LANGUAGE_NAMES{{ 12const 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
30std::string LanguageEntry::GetApplicationName() const { 31std::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
95extern const std::array<const char*, 15> LANGUAGE_NAMES; 96extern 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.