summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/errors.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-30 01:58:21 +0200
committerLioncash <mathew1800@gmail.com>2018-09-30 11:29:40 +0200
commit541c5507538137b9cc5fd0579221aaecf59a89b1 (patch)
tree479a4bbd73e6ddca56eb75dd085a41f86b19994f /src/core/hle/kernel/errors.h
parentkernel/process: Add a data member to determine if a process is 64-bit or not. (diff)
downloadyuzu-541c5507538137b9cc5fd0579221aaecf59a89b1.tar
yuzu-541c5507538137b9cc5fd0579221aaecf59a89b1.tar.gz
yuzu-541c5507538137b9cc5fd0579221aaecf59a89b1.tar.bz2
yuzu-541c5507538137b9cc5fd0579221aaecf59a89b1.tar.lz
yuzu-541c5507538137b9cc5fd0579221aaecf59a89b1.tar.xz
yuzu-541c5507538137b9cc5fd0579221aaecf59a89b1.tar.zst
yuzu-541c5507538137b9cc5fd0579221aaecf59a89b1.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 8c2be2681..e5fa67ae8 100644
--- a/src/core/hle/kernel/errors.h
+++ b/src/core/hle/kernel/errors.h
@@ -31,6 +31,7 @@ enum {
TooLarge = 119,
InvalidEnumValue = 120,
NoSuchEntry = 121,
+ AlreadyRegistered = 122,
InvalidState = 125,
ResourceLimitExceeded = 132,
};
@@ -58,6 +59,7 @@ constexpr ResultCode ERR_INVALID_MEMORY_PERMISSIONS(ErrorModule::Kernel,
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_ALREADY_REGISTERED(ErrorModule::Kernel, ErrCodes::AlreadyRegistered);
constexpr ResultCode ERR_INVALID_STATE(ErrorModule::Kernel, ErrCodes::InvalidState);
constexpr ResultCode ERR_INVALID_THREAD_PRIORITY(ErrorModule::Kernel,
ErrCodes::InvalidThreadPriority);