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 | 204d0da99a8bfe83d695e025f793156f44d5f77c (patch) | |
| tree | 368b814f5954608acda1cdbba3eb5cc589c93b3e /src/core/file_sys/control_metadata.cpp | |
| parent | bd66646f8b9ad17f7a506fe2ac2e23f9890e96c4 (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.cpp')
| -rw-r--r-- | src/core/file_sys/control_metadata.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/file_sys/control_metadata.cpp b/src/core/file_sys/control_metadata.cpp index e76bf77bf0..b47c95d11f 100644 --- a/src/core/file_sys/control_metadata.cpp +++ b/src/core/file_sys/control_metadata.cpp @@ -8,6 +8,14 @@ namespace FileSys { +const std::array<const char*, 15> LANGUAGE_NAMES = { + "AmericanEnglish", "BritishEnglish", "Japanese", + "French", "German", "LatinAmericanSpanish", + "Spanish", "Italian", "Dutch", + "CanadianFrench", "Portugese", "Russian", + "Korean", "Taiwanese", "Chinese", +}; + std::string LanguageEntry::GetApplicationName() const { return Common::StringFromFixedZeroTerminatedBuffer(application_name.data(), 0x200); } |
