diff options
| author | 2018-07-28 12:32:16 -0400 | |
|---|---|---|
| committer | 2018-08-06 23:06:33 -0400 | |
| commit | 9e88f03e7591bd3b91d7af9b9995a727c0b92ac9 (patch) | |
| tree | df8fb8701e41ac8ea525fe23b6b13e057e41d0b8 /src/core/file_sys | |
| parent | Merge pull request #931 from DarkLordZach/nca-as-drd (diff) | |
| download | yuzu-9e88f03e7591bd3b91d7af9b9995a727c0b92ac9.tar.gz yuzu-9e88f03e7591bd3b91d7af9b9995a727c0b92ac9.tar.xz yuzu-9e88f03e7591bd3b91d7af9b9995a727c0b92ac9.zip | |
Avoid parsing RomFS to directory in NCA
Diffstat (limited to 'src/core/file_sys')
| -rw-r--r-- | src/core/file_sys/control_metadata.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/file_sys/control_metadata.h b/src/core/file_sys/control_metadata.h index cc3b745f7..9fc02612a 100644 --- a/src/core/file_sys/control_metadata.h +++ b/src/core/file_sys/control_metadata.h | |||
| @@ -62,6 +62,13 @@ enum class Language : u8 { | |||
| 62 | Chinese = 14, | 62 | Chinese = 14, |
| 63 | }; | 63 | }; |
| 64 | 64 | ||
| 65 | static std::array<std::string, 15> LANGUAGE_NAMES = { | ||
| 66 | "AmericanEnglish", "BritishEnglish", "Japanese", | ||
| 67 | "French", "German", "LatinAmericanSpanish", | ||
| 68 | "Spanish", "Italian", "Dutch", | ||
| 69 | "CanadianFrench", "Portugese", "Russian", | ||
| 70 | "Korean", "Taiwanese", "Chinese"}; | ||
| 71 | |||
| 65 | // A class representing the format used by NX metadata files, typically named Control.nacp. | 72 | // A class representing the format used by NX metadata files, typically named Control.nacp. |
| 66 | // These store application name, dev name, title id, and other miscellaneous data. | 73 | // These store application name, dev name, title id, and other miscellaneous data. |
| 67 | class NACP { | 74 | class NACP { |