diff options
Diffstat (limited to 'src/core/loader/loader.cpp')
| -rw-r--r-- | src/core/loader/loader.cpp | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/core/loader/loader.cpp b/src/core/loader/loader.cpp index fe5d71f68..c13fb49b8 100644 --- a/src/core/loader/loader.cpp +++ b/src/core/loader/loader.cpp | |||
| @@ -87,7 +87,7 @@ std::string GetFileTypeString(FileType type) { | |||
| 87 | return "unknown"; | 87 | return "unknown"; |
| 88 | } | 88 | } |
| 89 | 89 | ||
| 90 | constexpr std::array<const char*, 36> RESULT_MESSAGES{ | 90 | constexpr std::array<const char*, 49> RESULT_MESSAGES{ |
| 91 | "The operation completed successfully.", | 91 | "The operation completed successfully.", |
| 92 | "The loader requested to load is already loaded.", | 92 | "The loader requested to load is already loaded.", |
| 93 | "The operation is not implemented.", | 93 | "The operation is not implemented.", |
| @@ -124,6 +124,19 @@ constexpr std::array<const char*, 36> RESULT_MESSAGES{ | |||
| 124 | "There was a general error loading the NRO into emulated memory.", | 124 | "There was a general error loading the NRO into emulated memory.", |
| 125 | "There is no icon available.", | 125 | "There is no icon available.", |
| 126 | "There is no control data available.", | 126 | "There is no control data available.", |
| 127 | "The NAX file has a bad header.", | ||
| 128 | "The NAX file has incorrect size as determined by the header.", | ||
| 129 | "The HMAC to generated the NAX decryption keys failed.", | ||
| 130 | "The HMAC to validate the NAX decryption keys failed.", | ||
| 131 | "The NAX key derivation failed.", | ||
| 132 | "The NAX file cannot be interpreted as an NCA file.", | ||
| 133 | "The NAX file has an incorrect path.", | ||
| 134 | "The SD seed could not be found or derived.", | ||
| 135 | "The SD KEK Source could not be found.", | ||
| 136 | "The AES KEK Generation Source could not be found.", | ||
| 137 | "The AES Key Generation Source could not be found.", | ||
| 138 | "The SD Save Key Source could not be found.", | ||
| 139 | "The SD NCA Key Source could not be found.", | ||
| 127 | }; | 140 | }; |
| 128 | 141 | ||
| 129 | std::ostream& operator<<(std::ostream& os, ResultStatus status) { | 142 | std::ostream& operator<<(std::ostream& os, ResultStatus status) { |