summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2018-09-13 17:08:00 -0400
committerGravatar Lioncash2018-09-13 17:12:01 -0400
commit50a5d09d32e62bef5162d47df7b856864ac5eb21 (patch)
treee6b8044104049111758c6b4c9c6dfc8eaca9a57c /src
parentMerge pull request #1308 from valentinvanelslande/ipc (diff)
downloadyuzu-50a5d09d32e62bef5162d47df7b856864ac5eb21.tar.gz
yuzu-50a5d09d32e62bef5162d47df7b856864ac5eb21.tar.xz
yuzu-50a5d09d32e62bef5162d47df7b856864ac5eb21.zip
kernel/errors: Amend error code for ERR_NOT_FOUND
This is the value returned by the kernel for svcConnectToNamedPort() if the named port cannot be found.
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/kernel/errors.h3
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 {
29 SynchronizationCanceled = 118, 29 SynchronizationCanceled = 118,
30 TooLarge = 119, 30 TooLarge = 119,
31 InvalidEnumValue = 120, 31 InvalidEnumValue = 120,
32 NoSuchEntry = 121,
32 InvalidState = 125, 33 InvalidState = 125,
33 ResourceLimitExceeded = 132, 34 ResourceLimitExceeded = 132,
34}; 35};
@@ -63,7 +64,7 @@ constexpr ResultCode ERR_INVALID_OBJECT_ADDR(-1);
63constexpr ResultCode ERR_NOT_AUTHORIZED(-1); 64constexpr ResultCode ERR_NOT_AUTHORIZED(-1);
64/// Alternate code returned instead of ERR_INVALID_HANDLE in some code paths. 65/// Alternate code returned instead of ERR_INVALID_HANDLE in some code paths.
65constexpr ResultCode ERR_INVALID_HANDLE_OS(-1); 66constexpr ResultCode ERR_INVALID_HANDLE_OS(-1);
66constexpr ResultCode ERR_NOT_FOUND(-1); 67constexpr ResultCode ERR_NOT_FOUND(ErrorModule::Kernel, ErrCodes::NoSuchEntry);
67constexpr ResultCode RESULT_TIMEOUT(ErrorModule::Kernel, ErrCodes::Timeout); 68constexpr ResultCode RESULT_TIMEOUT(ErrorModule::Kernel, ErrCodes::Timeout);
68/// Returned when Accept() is called on a port with no sessions to be accepted. 69/// Returned when Accept() is called on a port with no sessions to be accepted.
69constexpr ResultCode ERR_NO_PENDING_SESSIONS(-1); 70constexpr ResultCode ERR_NO_PENDING_SESSIONS(-1);