diff options
| -rw-r--r-- | src/core/file_sys/control_metadata.cpp | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/src/core/file_sys/control_metadata.cpp b/src/core/file_sys/control_metadata.cpp index c8fa912bf..e065e592f 100644 --- a/src/core/file_sys/control_metadata.cpp +++ b/src/core/file_sys/control_metadata.cpp | |||
| @@ -8,13 +8,23 @@ | |||
| 8 | 8 | ||
| 9 | namespace FileSys { | 9 | namespace FileSys { |
| 10 | 10 | ||
| 11 | const std::array<const char*, 15> LANGUAGE_NAMES = { | 11 | const std::array<const char*, 15> LANGUAGE_NAMES{{ |
| 12 | "AmericanEnglish", "BritishEnglish", "Japanese", | 12 | "AmericanEnglish", |
| 13 | "French", "German", "LatinAmericanSpanish", | 13 | "BritishEnglish", |
| 14 | "Spanish", "Italian", "Dutch", | 14 | "Japanese", |
| 15 | "CanadianFrench", "Portugese", "Russian", | 15 | "French", |
| 16 | "Korean", "Taiwanese", "Chinese", | 16 | "German", |
| 17 | }; | 17 | "LatinAmericanSpanish", |
| 18 | "Spanish", | ||
| 19 | "Italian", | ||
| 20 | "Dutch", | ||
| 21 | "CanadianFrench", | ||
| 22 | "Portuguese", | ||
| 23 | "Russian", | ||
| 24 | "Korean", | ||
| 25 | "Taiwanese", | ||
| 26 | "Chinese", | ||
| 27 | }}; | ||
| 18 | 28 | ||
| 19 | std::string LanguageEntry::GetApplicationName() const { | 29 | std::string LanguageEntry::GetApplicationName() const { |
| 20 | return Common::StringFromFixedZeroTerminatedBuffer(application_name.data(), | 30 | return Common::StringFromFixedZeroTerminatedBuffer(application_name.data(), |