diff options
author | Lioncash <mathew1800@gmail.com> | 2018-10-24 19:38:34 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-10-24 19:38:39 +0200 |
commit | 6df09f5b7639747d9d36f0f54f785277974e6abe (patch) | |
tree | 52f8fe2f72c926eda2aabe41aa0260ef46e6bd18 /src/core/hle/kernel/errors.h | |
parent | Merge pull request #1468 from DarkLordZach/profile-manager-ui (diff) | |
download | yuzu-6df09f5b7639747d9d36f0f54f785277974e6abe.tar yuzu-6df09f5b7639747d9d36f0f54f785277974e6abe.tar.gz yuzu-6df09f5b7639747d9d36f0f54f785277974e6abe.tar.bz2 yuzu-6df09f5b7639747d9d36f0f54f785277974e6abe.tar.lz yuzu-6df09f5b7639747d9d36f0f54f785277974e6abe.tar.xz yuzu-6df09f5b7639747d9d36f0f54f785277974e6abe.tar.zst yuzu-6df09f5b7639747d9d36f0f54f785277974e6abe.zip |
Diffstat (limited to 'src/core/hle/kernel/errors.h')
-rw-r--r-- | src/core/hle/kernel/errors.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hle/kernel/errors.h b/src/core/hle/kernel/errors.h index 885259618..c87cdfa64 100644 --- a/src/core/hle/kernel/errors.h +++ b/src/core/hle/kernel/errors.h @@ -26,6 +26,7 @@ enum { InvalidThreadPriority = 112, InvalidProcessorId = 113, InvalidHandle = 114, + InvalidPointer = 115, InvalidCombination = 116, Timeout = 117, SynchronizationCanceled = 118, @@ -33,6 +34,7 @@ enum { InvalidEnumValue = 120, NoSuchEntry = 121, AlreadyRegistered = 122, + SessionClosed = 123, InvalidState = 125, ResourceLimitExceeded = 132, }; @@ -43,7 +45,7 @@ enum { // TODO(bunnei): Replace -1 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_SESSION_CLOSED_BY_REMOTE(ErrorModule::Kernel, ErrCodes::SessionClosed); constexpr ResultCode ERR_PORT_NAME_TOO_LONG(ErrorModule::Kernel, ErrCodes::TooLarge); constexpr ResultCode ERR_MAX_CONNECTIONS_REACHED(ErrorModule::Kernel, ErrCodes::MaxConnectionsReached); |