diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-10-29 02:04:33 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-10-29 02:05:26 +0200 |
commit | baf599c1d3daa365e84fda3c58cab2cc9c82636d (patch) | |
tree | cf25e92fd41c4dde6f2f86c47c61b2c9d55e5ea3 /src | |
parent | ns: language: Add BrazilianPortuguese to ApplicationLanguage (diff) | |
download | yuzu-baf599c1d3daa365e84fda3c58cab2cc9c82636d.tar yuzu-baf599c1d3daa365e84fda3c58cab2cc9c82636d.tar.gz yuzu-baf599c1d3daa365e84fda3c58cab2cc9c82636d.tar.bz2 yuzu-baf599c1d3daa365e84fda3c58cab2cc9c82636d.tar.lz yuzu-baf599c1d3daa365e84fda3c58cab2cc9c82636d.tar.xz yuzu-baf599c1d3daa365e84fda3c58cab2cc9c82636d.tar.zst yuzu-baf599c1d3daa365e84fda3c58cab2cc9c82636d.zip |
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 @@ namespace FileSys { -const std::array<const char*, 15> LANGUAGE_NAMES{{ +const std::array<const char*, 16> LANGUAGE_NAMES{{ "AmericanEnglish", "BritishEnglish", "Japanese", @@ -25,6 +25,7 @@ const std::array<const char*, 15> LANGUAGE_NAMES{{ "Korean", "Taiwanese", "Chinese", + "BrazilianPortuguese", }}; 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 { Korean = 12, Taiwanese = 13, Chinese = 14, + BrazilianPortuguese = 15, 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. // These store application name, dev name, title id, and other miscellaneous data. |