summaryrefslogtreecommitdiff
path: root/src/core/core.h
diff options
context:
space:
mode:
authorGravatar Zach Hilman2018-08-09 21:06:44 -0400
committerGravatar Zach Hilman2018-08-09 21:06:59 -0400
commitec3bef7b4c21931918f3a84ad79a53d31b02aeaf (patch)
treee9da97be14d9474910faa1cfde851aa5b2383bc0 /src/core/core.h
parentMerge pull request #995 from bunnei/gl-buff-bounds (diff)
downloadyuzu-ec3bef7b4c21931918f3a84ad79a53d31b02aeaf.tar.gz
yuzu-ec3bef7b4c21931918f3a84ad79a53d31b02aeaf.tar.xz
yuzu-ec3bef7b4c21931918f3a84ad79a53d31b02aeaf.zip
loader: Add more descriptive errors
Full list of new errors and descriptions in core/loader/loader.h
Diffstat (limited to 'src/core/core.h')
-rw-r--r--src/core/core.h24
1 files changed, 9 insertions, 15 deletions
diff --git a/src/core/core.h b/src/core/core.h
index 7cf7ea4e1..2944b09cd 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -49,21 +49,15 @@ public:
49 49
50 /// Enumeration representing the return values of the System Initialize and Load process. 50 /// Enumeration representing the return values of the System Initialize and Load process.
51 enum class ResultStatus : u32 { 51 enum class ResultStatus : u32 {
52 Success, ///< Succeeded 52 Success, ///< Succeeded
53 ErrorNotInitialized, ///< Error trying to use core prior to initialization 53 ErrorNotInitialized, ///< Error trying to use core prior to initialization
54 ErrorGetLoader, ///< Error finding the correct application loader 54 ErrorGetLoader, ///< Error finding the correct application loader
55 ErrorSystemMode, ///< Error determining the system mode 55 ErrorSystemMode, ///< Error determining the system mode
56 ErrorLoader, ///< Error loading the specified application 56 ErrorSystemFiles, ///< Error in finding system files
57 ErrorLoader_ErrorMissingKeys, ///< Error because the key/keys needed to run could not be 57 ErrorSharedFont, ///< Error in finding shared font
58 ///< found. 58 ErrorVideoCore, ///< Error in the video core
59 ErrorLoader_ErrorDecrypting, ///< Error loading the specified application due to encryption 59 ErrorUnknown, ///< Any other error
60 ErrorLoader_ErrorInvalidFormat, ///< Error loading the specified application due to an 60 ErrorLoader, ///< The base for loader errors (too many to repeat)
61 /// invalid format
62 ErrorSystemFiles, ///< Error in finding system files
63 ErrorSharedFont, ///< Error in finding shared font
64 ErrorVideoCore, ///< Error in the video core
65 ErrorUnsupportedArch, ///< Unsupported Architecture (32-Bit ROMs)
66 ErrorUnknown ///< Any other error
67 }; 61 };
68 62
69 /** 63 /**