diff options
| author | 2019-06-05 00:21:44 -0400 | |
|---|---|---|
| committer | 2019-06-05 00:21:44 -0400 | |
| commit | a76bd4926883e0b0d5649b04779525582708331d (patch) | |
| tree | 90fcf4fdf8698f41e7866b91b51d720ffed3fc5c /src/core/loader/loader.cpp | |
| parent | loader: Add AppLoader_KIP for KIP files (diff) | |
| download | yuzu-a76bd4926883e0b0d5649b04779525582708331d.tar.gz yuzu-a76bd4926883e0b0d5649b04779525582708331d.tar.xz yuzu-a76bd4926883e0b0d5649b04779525582708331d.zip | |
loader: Add KIP and INI file parser-specific errors
Diffstat (limited to 'src/core/loader/loader.cpp')
| -rw-r--r-- | src/core/loader/loader.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/loader/loader.cpp b/src/core/loader/loader.cpp index d8cc30959..8a783ae2f 100644 --- a/src/core/loader/loader.cpp +++ b/src/core/loader/loader.cpp | |||
| @@ -93,7 +93,7 @@ std::string GetFileTypeString(FileType type) { | |||
| 93 | return "unknown"; | 93 | return "unknown"; |
| 94 | } | 94 | } |
| 95 | 95 | ||
| 96 | constexpr std::array<const char*, 62> RESULT_MESSAGES{ | 96 | constexpr std::array<const char*, 66> RESULT_MESSAGES{ |
| 97 | "The operation completed successfully.", | 97 | "The operation completed successfully.", |
| 98 | "The loader requested to load is already loaded.", | 98 | "The loader requested to load is already loaded.", |
| 99 | "The operation is not implemented.", | 99 | "The operation is not implemented.", |
| @@ -156,6 +156,10 @@ constexpr std::array<const char*, 62> RESULT_MESSAGES{ | |||
| 156 | "The BKTR-type NCA has a bad Subsection bucket.", | 156 | "The BKTR-type NCA has a bad Subsection bucket.", |
| 157 | "The BKTR-type NCA is missing the base RomFS.", | 157 | "The BKTR-type NCA is missing the base RomFS.", |
| 158 | "The NSP or XCI does not contain an update in addition to the base game.", | 158 | "The NSP or XCI does not contain an update in addition to the base game.", |
| 159 | "The KIP file has a bad header.", | ||
| 160 | "The KIP BLZ decompression of the section failed unexpectedly.", | ||
| 161 | "The INI file has a bad header.", | ||
| 162 | "The INI file contains more than the maximum allowable number of KIP files.", | ||
| 159 | }; | 163 | }; |
| 160 | 164 | ||
| 161 | std::ostream& operator<<(std::ostream& os, ResultStatus status) { | 165 | std::ostream& operator<<(std::ostream& os, ResultStatus status) { |