diff options
| author | 2018-10-24 14:55:55 -0400 | |
|---|---|---|
| committer | 2018-10-24 14:58:37 -0400 | |
| commit | 1fb4bebb63e2824c71259bc72b809d6c2bf48ca9 (patch) | |
| tree | 4800663d5a6ed8fe989834c95bcd04e15d2e0708 /src/core/hle/ipc.h | |
| parent | kernel/shared_memory: Return ERR_INVALID_MEMORY_PERMISSIONS instead of ERR_IN... (diff) | |
| download | yuzu-1fb4bebb63e2824c71259bc72b809d6c2bf48ca9.tar.gz yuzu-1fb4bebb63e2824c71259bc72b809d6c2bf48ca9.tar.xz yuzu-1fb4bebb63e2824c71259bc72b809d6c2bf48ca9.zip | |
kernel/errors: Remove now-unused, unnecessary, error codes
Now that we've gotten the innaccurate error codes out of the way, we can
finally toss away a bunch of these, trimming down the error codes to
ones that are actually used and knocking out two TODO comments.
Diffstat (limited to 'src/core/hle/ipc.h')
| -rw-r--r-- | src/core/hle/ipc.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/core/hle/ipc.h b/src/core/hle/ipc.h index 419f45896..ed84197b3 100644 --- a/src/core/hle/ipc.h +++ b/src/core/hle/ipc.h | |||
| @@ -14,11 +14,6 @@ namespace IPC { | |||
| 14 | /// Size of the command buffer area, in 32-bit words. | 14 | /// Size of the command buffer area, in 32-bit words. |
| 15 | constexpr std::size_t COMMAND_BUFFER_LENGTH = 0x100 / sizeof(u32); | 15 | constexpr std::size_t COMMAND_BUFFER_LENGTH = 0x100 / sizeof(u32); |
| 16 | 16 | ||
| 17 | // These errors are commonly returned by invalid IPC translations, so alias them here for | ||
| 18 | // convenience. | ||
| 19 | // TODO(yuriks): These will probably go away once translation is implemented inside the kernel. | ||
| 20 | constexpr auto ERR_INVALID_HANDLE = Kernel::ERR_INVALID_HANDLE_OS; | ||
| 21 | |||
| 22 | enum class ControlCommand : u32 { | 17 | enum class ControlCommand : u32 { |
| 23 | ConvertSessionToDomain = 0, | 18 | ConvertSessionToDomain = 0, |
| 24 | ConvertDomainToSession = 1, | 19 | ConvertDomainToSession = 1, |