diff options
| author | 2018-09-25 09:18:55 -0400 | |
|---|---|---|
| committer | 2018-10-05 08:46:31 -0400 | |
| commit | 504574882914902f0648e30078038472ae985570 (patch) | |
| tree | bfa46c9144c1f0f1a5e2375c74996fd1065dbec6 /src/core/loader/loader.cpp | |
| parent | loader: Add ReadRomFSIVFCOffset to NSP, XCI, and NAX loaders (diff) | |
| download | yuzu-504574882914902f0648e30078038472ae985570.tar.gz yuzu-504574882914902f0648e30078038472ae985570.tar.xz yuzu-504574882914902f0648e30078038472ae985570.zip | |
loader: Add getter for packed update
Reads the update included with the game if it has one and adds the new ErrorNoPackedUpdate status.
Diffstat (limited to 'src/core/loader/loader.cpp')
| -rw-r--r-- | src/core/loader/loader.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/loader/loader.cpp b/src/core/loader/loader.cpp index f2a183ba1..91659ec17 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*, 58> RESULT_MESSAGES{ | 96 | constexpr std::array<const char*, 59> 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.", |
| @@ -152,6 +152,7 @@ constexpr std::array<const char*, 58> RESULT_MESSAGES{ | |||
| 152 | "The BKTR-type NCA has a bad Relocation bucket.", | 152 | "The BKTR-type NCA has a bad Relocation bucket.", |
| 153 | "The BKTR-type NCA has a bad Subsection bucket.", | 153 | "The BKTR-type NCA has a bad Subsection bucket.", |
| 154 | "The BKTR-type NCA is missing the base RomFS.", | 154 | "The BKTR-type NCA is missing the base RomFS.", |
| 155 | "The NSP or XCI does not contain an update in addition to the base game.", | ||
| 155 | }; | 156 | }; |
| 156 | 157 | ||
| 157 | std::ostream& operator<<(std::ostream& os, ResultStatus status) { | 158 | std::ostream& operator<<(std::ostream& os, ResultStatus status) { |