summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-25 11:52:57 +0200
committerLioncash <mathew1800@gmail.com>2018-08-25 15:40:29 +0200
commitbfb0c87b7be3adc6b40247819e99f5071deee647 (patch)
treea765ee1ddf5a637ee3a4fda71f0181e0c45f7dd4 /src/core/hle
parentkernel/error: Add error code for the handle table being full (diff)
downloadyuzu-bfb0c87b7be3adc6b40247819e99f5071deee647.tar
yuzu-bfb0c87b7be3adc6b40247819e99f5071deee647.tar.gz
yuzu-bfb0c87b7be3adc6b40247819e99f5071deee647.tar.bz2
yuzu-bfb0c87b7be3adc6b40247819e99f5071deee647.tar.lz
yuzu-bfb0c87b7be3adc6b40247819e99f5071deee647.tar.xz
yuzu-bfb0c87b7be3adc6b40247819e99f5071deee647.tar.zst
yuzu-bfb0c87b7be3adc6b40247819e99f5071deee647.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/kernel/errors.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/kernel/errors.h b/src/core/hle/kernel/errors.h
index 59c5c2a67..a2df8e2e8 100644
--- a/src/core/hle/kernel/errors.h
+++ b/src/core/hle/kernel/errors.h
@@ -12,7 +12,6 @@ namespace ErrCodes {
enum {
// TODO(Subv): Remove these 3DS OS error codes.
SessionClosedByRemote = 26,
- PortNameTooLong = 30,
NoPendingSessions = 35,
InvalidBufferDescriptor = 48,
MaxConnectionsReached = 52,
@@ -39,7 +38,7 @@ enum {
// TODO(bunnei): Replace these with correct errors for Switch OS
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(-1);
+constexpr ResultCode ERR_PORT_NAME_TOO_LONG(ErrorModule::Kernel, ErrCodes::TooLarge);
constexpr ResultCode ERR_MAX_CONNECTIONS_REACHED(-1);
constexpr ResultCode ERR_INVALID_ENUM_VALUE(ErrorModule::Kernel, ErrCodes::InvalidEnumValue);
constexpr ResultCode ERR_INVALID_ENUM_VALUE_FND(-1);