summaryrefslogtreecommitdiff
path: root/src/core/loader/loader.cpp
diff options
context:
space:
mode:
authorGravatar Zach Hilman2018-09-25 09:18:55 -0400
committerGravatar Zach Hilman2018-10-05 08:46:31 -0400
commit504574882914902f0648e30078038472ae985570 (patch)
treebfa46c9144c1f0f1a5e2375c74996fd1065dbec6 /src/core/loader/loader.cpp
parentloader: Add ReadRomFSIVFCOffset to NSP, XCI, and NAX loaders (diff)
downloadyuzu-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.cpp3
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
96constexpr std::array<const char*, 58> RESULT_MESSAGES{ 96constexpr 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
157std::ostream& operator<<(std::ostream& os, ResultStatus status) { 158std::ostream& operator<<(std::ostream& os, ResultStatus status) {