summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-01-23 06:44:52 +0100
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-01-30 14:49:45 +0100
commit09ae6e1fa38bbf75dcb2796e96575fdba32ec69c (patch)
treee760cb36500849a65931a2f0ad0d6174be617601 /src/core/hle/kernel
parentSVC: Change return type of handlers to ResultCode (diff)
downloadyuzu-09ae6e1fa38bbf75dcb2796e96575fdba32ec69c.tar
yuzu-09ae6e1fa38bbf75dcb2796e96575fdba32ec69c.tar.gz
yuzu-09ae6e1fa38bbf75dcb2796e96575fdba32ec69c.tar.bz2
yuzu-09ae6e1fa38bbf75dcb2796e96575fdba32ec69c.tar.lz
yuzu-09ae6e1fa38bbf75dcb2796e96575fdba32ec69c.tar.xz
yuzu-09ae6e1fa38bbf75dcb2796e96575fdba32ec69c.tar.zst
yuzu-09ae6e1fa38bbf75dcb2796e96575fdba32ec69c.zip
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r--src/core/hle/kernel/kernel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h
index 08a5db3b7..9860479ac 100644
--- a/src/core/hle/kernel/kernel.h
+++ b/src/core/hle/kernel/kernel.h
@@ -31,7 +31,8 @@ class Thread;
const ResultCode ERR_OUT_OF_HANDLES(ErrorDescription::OutOfMemory, ErrorModule::Kernel,
ErrorSummary::OutOfResource, ErrorLevel::Temporary);
// TOOD: Verify code
-const ResultCode ERR_INVALID_HANDLE = InvalidHandle(ErrorModule::Kernel);
+const ResultCode ERR_INVALID_HANDLE(ErrorDescription::InvalidHandle, ErrorModule::Kernel,
+ ErrorSummary::InvalidArgument, ErrorLevel::Permanent);
enum KernelHandle : Handle {
CurrentThread = 0xFFFF8000,