diff options
author | gdkchan <gab.dark.100@gmail.com> | 2020-01-30 17:43:47 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-30 21:43:47 +0100 |
commit | 793f38b9aadd3fd33240eadf41ed96eb8ed14611 (patch) | |
tree | fa55499587569479caa58b098c27d26004f6aa01 | |
parent | d218c2eeadc7ec633f2f0aac985a796b40c0864e (diff) |
Discard higher 32-bits of IPC message magic and command number (#911)
-rw-r--r-- | Ryujinx.HLE/HOS/Ipc/IpcHandler.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.HLE/HOS/Ipc/IpcHandler.cs b/Ryujinx.HLE/HOS/Ipc/IpcHandler.cs index ee3ace68..4b201d14 100644 --- a/Ryujinx.HLE/HOS/Ipc/IpcHandler.cs +++ b/Ryujinx.HLE/HOS/Ipc/IpcHandler.cs @@ -53,8 +53,8 @@ namespace Ryujinx.HLE.HOS.Ipc else if (request.Type == IpcMessageType.Control || request.Type == IpcMessageType.ControlWithContext) { - long magic = reqReader.ReadInt64(); - long cmdId = reqReader.ReadInt64(); + uint magic = (uint)reqReader.ReadUInt64(); + uint cmdId = (uint)reqReader.ReadUInt64(); switch (cmdId) { |