summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-25 12:15:58 +0200
committerLioncash <mathew1800@gmail.com>2018-08-25 15:40:42 +0200
commitf708207ae6209229de0bde1c5c6a43d7345575d0 (patch)
tree344eec7b86a22217ab7048d4c1285b01b44f8b5d
parentkernel/error: Amend error code for ERR_PORT_NAME_TOO_LONG (diff)
downloadyuzu-f708207ae6209229de0bde1c5c6a43d7345575d0.tar
yuzu-f708207ae6209229de0bde1c5c6a43d7345575d0.tar.gz
yuzu-f708207ae6209229de0bde1c5c6a43d7345575d0.tar.bz2
yuzu-f708207ae6209229de0bde1c5c6a43d7345575d0.tar.lz
yuzu-f708207ae6209229de0bde1c5c6a43d7345575d0.tar.xz
yuzu-f708207ae6209229de0bde1c5c6a43d7345575d0.tar.zst
yuzu-f708207ae6209229de0bde1c5c6a43d7345575d0.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/errors.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/hle/kernel/errors.h b/src/core/hle/kernel/errors.h
index a2df8e2e8..4054d5db6 100644
--- a/src/core/hle/kernel/errors.h
+++ b/src/core/hle/kernel/errors.h
@@ -14,9 +14,9 @@ enum {
SessionClosedByRemote = 26,
NoPendingSessions = 35,
InvalidBufferDescriptor = 48,
- MaxConnectionsReached = 52,
// Confirmed Switch OS error codes
+ MaxConnectionsReached = 7,
InvalidAddress = 102,
HandleTableFull = 105,
InvalidMemoryState = 106,
@@ -29,6 +29,7 @@ enum {
TooLarge = 119,
InvalidEnumValue = 120,
InvalidState = 125,
+ ResourceLimitExceeded = 132,
};
}
@@ -39,7 +40,8 @@ enum {
constexpr ResultCode ERR_HANDLE_TABLE_FULL(ErrorModule::Kernel, ErrCodes::HandleTableFull);
constexpr ResultCode ERR_SESSION_CLOSED_BY_REMOTE(-1);
constexpr ResultCode ERR_PORT_NAME_TOO_LONG(ErrorModule::Kernel, ErrCodes::TooLarge);
-constexpr ResultCode ERR_MAX_CONNECTIONS_REACHED(-1);
+constexpr ResultCode ERR_MAX_CONNECTIONS_REACHED(ErrorModule::Kernel,
+ ErrCodes::MaxConnectionsReached);
constexpr ResultCode ERR_INVALID_ENUM_VALUE(ErrorModule::Kernel, ErrCodes::InvalidEnumValue);
constexpr ResultCode ERR_INVALID_ENUM_VALUE_FND(-1);
constexpr ResultCode ERR_INVALID_COMBINATION(-1);