diff options
| author | 2018-08-25 05:52:57 -0400 | |
|---|---|---|
| committer | 2018-08-25 09:40:29 -0400 | |
| commit | bfb0c87b7be3adc6b40247819e99f5071deee647 (patch) | |
| tree | a765ee1ddf5a637ee3a4fda71f0181e0c45f7dd4 /src | |
| parent | kernel/error: Add error code for the handle table being full (diff) | |
| download | yuzu-bfb0c87b7be3adc6b40247819e99f5071deee647.tar.gz yuzu-bfb0c87b7be3adc6b40247819e99f5071deee647.tar.xz yuzu-bfb0c87b7be3adc6b40247819e99f5071deee647.zip | |
kernel/error: Amend error code for ERR_PORT_NAME_TOO_LONG
We can treat this as an alias of TooLarge for documentation purposes.
This also lets us get rid of another lingering 3DS-related error code.
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/kernel/errors.h | 3 |
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 { | |||
| 12 | enum { | 12 | enum { |
| 13 | // TODO(Subv): Remove these 3DS OS error codes. | 13 | // TODO(Subv): Remove these 3DS OS error codes. |
| 14 | SessionClosedByRemote = 26, | 14 | SessionClosedByRemote = 26, |
| 15 | PortNameTooLong = 30, | ||
| 16 | NoPendingSessions = 35, | 15 | NoPendingSessions = 35, |
| 17 | InvalidBufferDescriptor = 48, | 16 | InvalidBufferDescriptor = 48, |
| 18 | MaxConnectionsReached = 52, | 17 | MaxConnectionsReached = 52, |
| @@ -39,7 +38,7 @@ enum { | |||
| 39 | // TODO(bunnei): Replace these with correct errors for Switch OS | 38 | // TODO(bunnei): Replace these with correct errors for Switch OS |
| 40 | constexpr ResultCode ERR_HANDLE_TABLE_FULL(ErrorModule::Kernel, ErrCodes::HandleTableFull); | 39 | constexpr ResultCode ERR_HANDLE_TABLE_FULL(ErrorModule::Kernel, ErrCodes::HandleTableFull); |
| 41 | constexpr ResultCode ERR_SESSION_CLOSED_BY_REMOTE(-1); | 40 | constexpr ResultCode ERR_SESSION_CLOSED_BY_REMOTE(-1); |
| 42 | constexpr ResultCode ERR_PORT_NAME_TOO_LONG(-1); | 41 | constexpr ResultCode ERR_PORT_NAME_TOO_LONG(ErrorModule::Kernel, ErrCodes::TooLarge); |
| 43 | constexpr ResultCode ERR_MAX_CONNECTIONS_REACHED(-1); | 42 | constexpr ResultCode ERR_MAX_CONNECTIONS_REACHED(-1); |
| 44 | constexpr ResultCode ERR_INVALID_ENUM_VALUE(ErrorModule::Kernel, ErrCodes::InvalidEnumValue); | 43 | constexpr ResultCode ERR_INVALID_ENUM_VALUE(ErrorModule::Kernel, ErrCodes::InvalidEnumValue); |
| 45 | constexpr ResultCode ERR_INVALID_ENUM_VALUE_FND(-1); | 44 | constexpr ResultCode ERR_INVALID_ENUM_VALUE_FND(-1); |