diff options
author | Subv <subv2112@gmail.com> | 2018-01-07 05:19:42 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-01-07 23:11:45 +0100 |
commit | b0ceb4df70c8a387e12e2df0d1031421493ad744 (patch) | |
tree | fbe37a5849d34de75250fd12bc7403cc3c1ea4ad /src/core/hle/kernel | |
parent | IPC: Use the correct size when pushing raw data to the command buffer and fixed pushing domain objects. (diff) | |
download | yuzu-b0ceb4df70c8a387e12e2df0d1031421493ad744.tar yuzu-b0ceb4df70c8a387e12e2df0d1031421493ad744.tar.gz yuzu-b0ceb4df70c8a387e12e2df0d1031421493ad744.tar.bz2 yuzu-b0ceb4df70c8a387e12e2df0d1031421493ad744.tar.lz yuzu-b0ceb4df70c8a387e12e2df0d1031421493ad744.tar.xz yuzu-b0ceb4df70c8a387e12e2df0d1031421493ad744.tar.zst yuzu-b0ceb4df70c8a387e12e2df0d1031421493ad744.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/hle_ipc.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/kernel/hle_ipc.cpp b/src/core/hle/kernel/hle_ipc.cpp index e784d59cc..ac81dbf3f 100644 --- a/src/core/hle/kernel/hle_ipc.cpp +++ b/src/core/hle/kernel/hle_ipc.cpp @@ -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, |