summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/errors.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-14 01:09:04 +0200
committerLioncash <mathew1800@gmail.com>2018-09-14 03:34:48 +0200
commit7bd2faad9a41a04d81e5b33d454ca01d9eb650e0 (patch)
tree79e5e5b17f95e21eef659d9ca9d2f7638d418c97 /src/core/hle/kernel/errors.h
parentMerge pull request #1308 from valentinvanelslande/ipc (diff)
downloadyuzu-7bd2faad9a41a04d81e5b33d454ca01d9eb650e0.tar
yuzu-7bd2faad9a41a04d81e5b33d454ca01d9eb650e0.tar.gz
yuzu-7bd2faad9a41a04d81e5b33d454ca01d9eb650e0.tar.bz2
yuzu-7bd2faad9a41a04d81e5b33d454ca01d9eb650e0.tar.lz
yuzu-7bd2faad9a41a04d81e5b33d454ca01d9eb650e0.tar.xz
yuzu-7bd2faad9a41a04d81e5b33d454ca01d9eb650e0.tar.zst
yuzu-7bd2faad9a41a04d81e5b33d454ca01d9eb650e0.zip
Diffstat (limited to 'src/core/hle/kernel/errors.h')
-rw-r--r--src/core/hle/kernel/errors.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/kernel/errors.h b/src/core/hle/kernel/errors.h
index ad39c8271..2be2fad82 100644
--- a/src/core/hle/kernel/errors.h
+++ b/src/core/hle/kernel/errors.h
@@ -17,6 +17,7 @@ enum {
// Confirmed Switch OS error codes
MaxConnectionsReached = 7,
+ InvalidSize = 101,
InvalidAddress = 102,
HandleTableFull = 105,
InvalidMemoryState = 106,
@@ -55,6 +56,7 @@ constexpr ResultCode ERR_INVALID_MEMORY_PERMISSIONS(ErrorModule::Kernel,
ErrCodes::InvalidMemoryPermissions);
constexpr ResultCode ERR_INVALID_HANDLE(ErrorModule::Kernel, ErrCodes::InvalidHandle);
constexpr ResultCode ERR_INVALID_PROCESSOR_ID(ErrorModule::Kernel, ErrCodes::InvalidProcessorId);
+constexpr ResultCode ERR_INVALID_SIZE(ErrorModule::Kernel, ErrCodes::InvalidSize);
constexpr ResultCode ERR_INVALID_STATE(ErrorModule::Kernel, ErrCodes::InvalidState);
constexpr ResultCode ERR_INVALID_THREAD_PRIORITY(ErrorModule::Kernel,
ErrCodes::InvalidThreadPriority);