hle_ipc: Add a getter for PID

This commit is contained in:
Morph 2021-05-16 00:40:19 -04:00
parent a13ffd5201
commit 29ce6e48ed
2 changed files with 7 additions and 2 deletions
src/core/hle/kernel

View file

@ -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.