diff options
author | Lioncash <mathew1800@gmail.com> | 2018-09-13 23:08:00 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-09-13 23:12:01 +0200 |
commit | 50a5d09d32e62bef5162d47df7b856864ac5eb21 (patch) | |
tree | e6b8044104049111758c6b4c9c6dfc8eaca9a57c /src/core/hle/kernel | |
parent | Merge pull request #1308 from valentinvanelslande/ipc (diff) | |
download | yuzu-50a5d09d32e62bef5162d47df7b856864ac5eb21.tar yuzu-50a5d09d32e62bef5162d47df7b856864ac5eb21.tar.gz yuzu-50a5d09d32e62bef5162d47df7b856864ac5eb21.tar.bz2 yuzu-50a5d09d32e62bef5162d47df7b856864ac5eb21.tar.lz yuzu-50a5d09d32e62bef5162d47df7b856864ac5eb21.tar.xz yuzu-50a5d09d32e62bef5162d47df7b856864ac5eb21.tar.zst yuzu-50a5d09d32e62bef5162d47df7b856864ac5eb21.zip |
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r-- | src/core/hle/kernel/errors.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/kernel/errors.h b/src/core/hle/kernel/errors.h index ad39c8271..6c9fc9bfe 100644 --- a/src/core/hle/kernel/errors.h +++ b/src/core/hle/kernel/errors.h @@ -29,6 +29,7 @@ enum { SynchronizationCanceled = 118, TooLarge = 119, InvalidEnumValue = 120, + NoSuchEntry = 121, InvalidState = 125, ResourceLimitExceeded = 132, }; @@ -63,7 +64,7 @@ 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. constexpr ResultCode ERR_INVALID_HANDLE_OS(-1); -constexpr ResultCode ERR_NOT_FOUND(-1); +constexpr ResultCode ERR_NOT_FOUND(ErrorModule::Kernel, ErrCodes::NoSuchEntry); constexpr ResultCode RESULT_TIMEOUT(ErrorModule::Kernel, ErrCodes::Timeout); /// Returned when Accept() is called on a port with no sessions to be accepted. constexpr ResultCode ERR_NO_PENDING_SESSIONS(-1); |