IPC: Skip the entire u64 of the command id when receiving an IPC request.
Service code now doesn't have to deal with this.
This commit is contained in:
parent
226786f0b0
commit
b0ceb4df70
2 changed files with 5 additions and 15 deletions
|
@ -107,8 +107,9 @@ void HLERequestContext::ParseCommandBuffer(u32_le* src_cmdbuf, bool incoming) {
|
|||
ASSERT(data_payload_header->magic == Common::MakeMagic('S', 'F', 'C', 'O'));
|
||||
}
|
||||
|
||||
data_payload_offset = rp.GetCurrentOffset();
|
||||
command = rp.Pop<u32_le>();
|
||||
rp.Skip(1, false); // The command is actually an u64, but we don't use the high part.
|
||||
data_payload_offset = rp.GetCurrentOffset();
|
||||
}
|
||||
|
||||
ResultCode HLERequestContext::PopulateFromIncomingCommandBuffer(u32_le* src_cmdbuf,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue