diff options
| author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-05-16 00:40:19 -0400 |
|---|---|---|
| committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-05-16 04:10:42 -0400 |
| commit | 81a5ecdb18f04a508d57dd1fd8a182703d4734b5 (patch) | |
| tree | f0319179cab798a785c40fd64f24d8eb9ba156f5 /src/core/hle/kernel/hle_ipc.cpp | |
| parent | 9edfd88a8a4244848ae564749d591903699f9946 (diff) | |
hle_ipc: Add a getter for PID
Diffstat (limited to 'src/core/hle/kernel/hle_ipc.cpp')
| -rw-r--r-- | src/core/hle/kernel/hle_ipc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/hle_ipc.cpp b/src/core/hle/kernel/hle_ipc.cpp index ce3466df8..f79b6b47e 100644 --- a/src/core/hle/kernel/hle_ipc.cpp +++ b/src/core/hle/kernel/hle_ipc.cpp @@ -64,7 +64,7 @@ void HLERequestContext::ParseCommandBuffer(const KHandleTable& handle_table, u32 if (command_header->enable_handle_descriptor) { handle_descriptor_header = rp.PopRaw<IPC::HandleDescriptorHeader>(); if (handle_descriptor_header->send_current_pid) { - rp.Skip(2, false); + pid = rp.Pop<u64>(); } if (incoming) { // Populate the object lists with the data in the IPC request. |
