summaryrefslogtreecommitdiff
path: root/src/core/core.h
diff options
context:
space:
mode:
authorGravatar Zach Hilman2018-07-30 12:46:23 -0400
committerGravatar Zach Hilman2018-08-01 00:16:54 -0400
commit187d8e215fb157edaa9f3976bebba9a9a7ed103d (patch)
tree140cbfbd109281adc87c9c79ee07976ba54888cd /src/core/core.h
parentUse static const instead of const static (diff)
downloadyuzu-187d8e215fb157edaa9f3976bebba9a9a7ed103d.tar.gz
yuzu-187d8e215fb157edaa9f3976bebba9a9a7ed103d.tar.xz
yuzu-187d8e215fb157edaa9f3976bebba9a9a7ed103d.zip
Use more descriptive error codes and messages
Diffstat (limited to 'src/core/core.h')
-rw-r--r--src/core/core.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/core/core.h b/src/core/core.h
index c123fe401..a90bff3df 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -43,12 +43,14 @@ public:
43 43
44 /// Enumeration representing the return values of the System Initialize and Load process. 44 /// Enumeration representing the return values of the System Initialize and Load process.
45 enum class ResultStatus : u32 { 45 enum class ResultStatus : u32 {
46 Success, ///< Succeeded 46 Success, ///< Succeeded
47 ErrorNotInitialized, ///< Error trying to use core prior to initialization 47 ErrorNotInitialized, ///< Error trying to use core prior to initialization
48 ErrorGetLoader, ///< Error finding the correct application loader 48 ErrorGetLoader, ///< Error finding the correct application loader
49 ErrorSystemMode, ///< Error determining the system mode 49 ErrorSystemMode, ///< Error determining the system mode
50 ErrorLoader, ///< Error loading the specified application 50 ErrorLoader, ///< Error loading the specified application
51 ErrorLoader_ErrorEncrypted, ///< Error loading the specified application due to encryption 51 ErrorLoader_ErrorMissingKeys, ///< Error because the key/keys needed to run could not be
52 ///< found.
53 ErrorLoader_ErrorDecrypting, ///< Error loading the specified application due to encryption
52 ErrorLoader_ErrorInvalidFormat, ///< Error loading the specified application due to an 54 ErrorLoader_ErrorInvalidFormat, ///< Error loading the specified application due to an
53 /// invalid format 55 /// invalid format
54 ErrorSystemFiles, ///< Error in finding system files 56 ErrorSystemFiles, ///< Error in finding system files