Discard higher 32-bits of IPC message magic and command number (#911)

This commit is contained in:
gdkchan 2020-01-30 17:43:47 -03:00 committed by GitHub
parent d218c2eead
commit 793f38b9aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)
{