summaryrefslogtreecommitdiff
path: root/src/core/loader/loader.h
diff options
context:
space:
mode:
authorGravatar Lioncash2021-01-03 13:18:02 -0500
committerGravatar Lioncash2021-01-03 13:18:04 -0500
commit86592b274e228708cf0f9e1f4063e917f1bb3bd5 (patch)
tree5b18fb291f5655be3b6e9495efc7c7410b0bbfd8 /src/core/loader/loader.h
parentMerge pull request #5278 from MerryMage/cpuopt_unsafe_inaccurate_nan (diff)
downloadyuzu-86592b274e228708cf0f9e1f4063e917f1bb3bd5.tar.gz
yuzu-86592b274e228708cf0f9e1f4063e917f1bb3bd5.tar.xz
yuzu-86592b274e228708cf0f9e1f4063e917f1bb3bd5.zip
main: Resolve error string not displaying
During the transition to make the error dialog translatable, I accidentally got rid of the conversion to ResultStatus, which prevented operator<< from being invoked during formatting. This adds a function to directly retrieve the result status string instead so that it displays again.
Diffstat (limited to 'src/core/loader/loader.h')
-rw-r--r--src/core/loader/loader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h
index 36e79e71d..b2e5b13de 100644
--- a/src/core/loader/loader.h
+++ b/src/core/loader/loader.h
@@ -135,6 +135,7 @@ enum class ResultStatus : u16 {
135 ErrorINITooManyKIPs, 135 ErrorINITooManyKIPs,
136}; 136};
137 137
138std::string GetResultStatusString(ResultStatus status);
138std::ostream& operator<<(std::ostream& os, ResultStatus status); 139std::ostream& operator<<(std::ostream& os, ResultStatus status);
139 140
140/// Interface for loading an application 141/// Interface for loading an application