summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-10-24 19:41:09 +0200
committerLioncash <mathew1800@gmail.com>2018-10-24 19:41:32 +0200
commitc7c346a15d622283d0dc2cfd4c7d3c88810e65c6 (patch)
tree889a986dee8edffa0ac303bc09c9b7f4dbb00aca
parentkernel/error: Add error code for closed sessions (diff)
downloadyuzu-c7c346a15d622283d0dc2cfd4c7d3c88810e65c6.tar
yuzu-c7c346a15d622283d0dc2cfd4c7d3c88810e65c6.tar.gz
yuzu-c7c346a15d622283d0dc2cfd4c7d3c88810e65c6.tar.bz2
yuzu-c7c346a15d622283d0dc2cfd4c7d3c88810e65c6.tar.lz
yuzu-c7c346a15d622283d0dc2cfd4c7d3c88810e65c6.tar.xz
yuzu-c7c346a15d622283d0dc2cfd4c7d3c88810e65c6.tar.zst
yuzu-c7c346a15d622283d0dc2cfd4c7d3c88810e65c6.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/errors.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/errors.h b/src/core/hle/kernel/errors.h
index c87cdfa64..94810d68f 100644
--- a/src/core/hle/kernel/errors.h
+++ b/src/core/hle/kernel/errors.h
@@ -67,7 +67,7 @@ constexpr ResultCode ERR_ALREADY_REGISTERED(ErrorModule::Kernel, ErrCodes::Alrea
constexpr ResultCode ERR_INVALID_STATE(ErrorModule::Kernel, ErrCodes::InvalidState);
constexpr ResultCode ERR_INVALID_THREAD_PRIORITY(ErrorModule::Kernel,
ErrCodes::InvalidThreadPriority);
-constexpr ResultCode ERR_INVALID_POINTER(-1);
+constexpr ResultCode ERR_INVALID_POINTER(ErrorModule::Kernel, ErrCodes::InvalidPointer);
constexpr ResultCode ERR_INVALID_OBJECT_ADDR(-1);
constexpr ResultCode ERR_NOT_AUTHORIZED(-1);
/// Alternate code returned instead of ERR_INVALID_HANDLE in some code paths.