aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/errors.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-10-24 14:23:36 -0400
committerLioncash <mathew1800@gmail.com>2018-10-24 14:23:38 -0400
commitb703aba622d1d34df06a294610fb2cfe23df9e63 (patch)
treef3a61c092272b207a5c4fc026847fa74c006e421 /src/core/hle/kernel/errors.h
parentafb7e5cc05be11b98ff307157d812cf9f24616f7 (diff)
kernel/server_port: Change error case return value in Accept() to ERR_NOT_FOUND
This is what the kernel does in this instance.
Diffstat (limited to 'src/core/hle/kernel/errors.h')
-rw-r--r--src/core/hle/kernel/errors.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/hle/kernel/errors.h b/src/core/hle/kernel/errors.h
index 01e4e4bad..92436ae6d 100644
--- a/src/core/hle/kernel/errors.h
+++ b/src/core/hle/kernel/errors.h
@@ -69,7 +69,5 @@ constexpr ResultCode ERR_NOT_AUTHORIZED(-1);
constexpr ResultCode ERR_INVALID_HANDLE_OS(-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);
} // namespace Kernel