diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-09-19 18:55:33 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-09-19 18:57:26 -0400 |
| commit | 05d49962b69f6597116246776828c2bbc8a98582 (patch) | |
| tree | 368b814f5954608acda1cdbba3eb5cc589c93b3e /src/core/file_sys/control_metadata.h | |
| parent | 0432af5ad1ec34f02071f6fdc5fc78149b059f18 (diff) | |
control_metadata: Move language name array definition to the cpp file
This was used in two different translation units
(deconstructed_rom_directory and patch_manager). This means we'd be
pointlessly duplicating the whole array twice due to it being defined
within the header.
Diffstat (limited to 'src/core/file_sys/control_metadata.h')
| -rw-r--r-- | src/core/file_sys/control_metadata.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/core/file_sys/control_metadata.h b/src/core/file_sys/control_metadata.h index 8a510bf46..319bae821 100644 --- a/src/core/file_sys/control_metadata.h +++ b/src/core/file_sys/control_metadata.h @@ -66,12 +66,7 @@ enum class Language : u8 { Default = 255, }; -static constexpr std::array<const char*, 15> LANGUAGE_NAMES = { - "AmericanEnglish", "BritishEnglish", "Japanese", - "French", "German", "LatinAmericanSpanish", - "Spanish", "Italian", "Dutch", - "CanadianFrench", "Portugese", "Russian", - "Korean", "Taiwanese", "Chinese"}; +extern const std::array<const char*, 15> 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. |
