diff options
Diffstat (limited to 'src/core/hle/kernel')
| -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) { | |||
| 107 | ASSERT(data_payload_header->magic == Common::MakeMagic('S', 'F', 'C', 'O')); | 107 | ASSERT(data_payload_header->magic == Common::MakeMagic('S', 'F', 'C', 'O')); |
| 108 | } | 108 | } |
| 109 | 109 | ||
| 110 | data_payload_offset = rp.GetCurrentOffset(); | ||
| 111 | command = rp.Pop<u32_le>(); | 110 | command = rp.Pop<u32_le>(); |
| 111 | rp.Skip(1, false); // The command is actually an u64, but we don't use the high part. | ||
| 112 | data_payload_offset = rp.GetCurrentOffset(); | ||
| 112 | } | 113 | } |
| 113 | 114 | ||
| 114 | ResultCode HLERequestContext::PopulateFromIncomingCommandBuffer(u32_le* src_cmdbuf, | 115 | ResultCode HLERequestContext::PopulateFromIncomingCommandBuffer(u32_le* src_cmdbuf, |