summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2017-12-31 15:59:00 -0500
committerGravatar bunnei2017-12-31 15:59:00 -0500
commitc7983e970c7b9603d8a5c5db2a6b0b4d1007a4f1 (patch)
treed4426c14fb64f25e685098aeae8208fd2bb72764 /src
parentsvc: Implement svcSetThreadPriority. (diff)
downloadyuzu-c7983e970c7b9603d8a5c5db2a6b0b4d1007a4f1.tar.gz
yuzu-c7983e970c7b9603d8a5c5db2a6b0b4d1007a4f1.tar.xz
yuzu-c7983e970c7b9603d8a5c5db2a6b0b4d1007a4f1.zip
errors: Define missing kernel error codes.
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/kernel/errors.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/errors.h b/src/core/hle/kernel/errors.h
index f8890f0e3..df182efda 100644
--- a/src/core/hle/kernel/errors.h
+++ b/src/core/hle/kernel/errors.h
@@ -37,6 +37,9 @@ constexpr ResultCode ERR_OUT_OF_MEMORY(-1);
37constexpr ResultCode ERR_INVALID_ADDRESS(-1); 37constexpr ResultCode ERR_INVALID_ADDRESS(-1);
38constexpr ResultCode ERR_INVALID_ADDRESS_STATE(-1); 38constexpr ResultCode ERR_INVALID_ADDRESS_STATE(-1);
39constexpr ResultCode ERR_INVALID_HANDLE(-1); 39constexpr ResultCode ERR_INVALID_HANDLE(-1);
40constexpr ResultCode ERR_INVALID_POINTER(-1);
41constexpr ResultCode ERR_INVALID_OBJECT_ADDR(-1);
42constexpr ResultCode ERR_NOT_AUTHORIZED(-1);
40/// Alternate code returned instead of ERR_INVALID_HANDLE in some code paths. 43/// Alternate code returned instead of ERR_INVALID_HANDLE in some code paths.
41constexpr ResultCode ERR_INVALID_HANDLE_OS(-1); 44constexpr ResultCode ERR_INVALID_HANDLE_OS(-1);
42constexpr ResultCode ERR_NOT_FOUND(-1); 45constexpr ResultCode ERR_NOT_FOUND(-1);