diff options
| author | 2018-10-24 13:41:09 -0400 | |
|---|---|---|
| committer | 2018-10-24 13:41:32 -0400 | |
| commit | c7c346a15d622283d0dc2cfd4c7d3c88810e65c6 (patch) | |
| tree | 889a986dee8edffa0ac303bc09c9b7f4dbb00aca /src/core | |
| parent | kernel/error: Add error code for closed sessions (diff) | |
| download | yuzu-c7c346a15d622283d0dc2cfd4c7d3c88810e65c6.tar.gz yuzu-c7c346a15d622283d0dc2cfd4c7d3c88810e65c6.tar.xz yuzu-c7c346a15d622283d0dc2cfd4c7d3c88810e65c6.zip | |
kernel/error: Add error code for invalid pointers
The kernel appears to return 0xE601 for this situation. Particularly in
svcWaitSynchronization, svcReplyAndReceive, and svcGetThreadContext
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/hle/kernel/errors.h | 2 |
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 | |||
| 67 | constexpr ResultCode ERR_INVALID_STATE(ErrorModule::Kernel, ErrCodes::InvalidState); | 67 | constexpr ResultCode ERR_INVALID_STATE(ErrorModule::Kernel, ErrCodes::InvalidState); |
| 68 | constexpr ResultCode ERR_INVALID_THREAD_PRIORITY(ErrorModule::Kernel, | 68 | constexpr ResultCode ERR_INVALID_THREAD_PRIORITY(ErrorModule::Kernel, |
| 69 | ErrCodes::InvalidThreadPriority); | 69 | ErrCodes::InvalidThreadPriority); |
| 70 | constexpr ResultCode ERR_INVALID_POINTER(-1); | 70 | constexpr ResultCode ERR_INVALID_POINTER(ErrorModule::Kernel, ErrCodes::InvalidPointer); |
| 71 | constexpr ResultCode ERR_INVALID_OBJECT_ADDR(-1); | 71 | constexpr ResultCode ERR_INVALID_OBJECT_ADDR(-1); |
| 72 | constexpr ResultCode ERR_NOT_AUTHORIZED(-1); | 72 | constexpr ResultCode ERR_NOT_AUTHORIZED(-1); |
| 73 | /// Alternate code returned instead of ERR_INVALID_HANDLE in some code paths. | 73 | /// Alternate code returned instead of ERR_INVALID_HANDLE in some code paths. |