diff options
| author | bunnei <bunneidev@gmail.com> | 2017-10-18 21:38:01 -0400 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2017-10-18 21:38:01 -0400 |
| commit | b283cf734807e63e4bbee1a085553cb653648944 (patch) | |
| tree | a098b2d72e435f6f3661a2c4aae15574e49b7b41 /src/core/hle/kernel/hle_ipc.h | |
| parent | 03bf0739a48157397c0f2a60b385466526239777 (diff) | |
hle_ipc: Parse out buffer X/A/B/B descriptors from incoming command buffer.
Diffstat (limited to 'src/core/hle/kernel/hle_ipc.h')
| -rw-r--r-- | src/core/hle/kernel/hle_ipc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/hle/kernel/hle_ipc.h b/src/core/hle/kernel/hle_ipc.h index 17baffc06..b58e57b14 100644 --- a/src/core/hle/kernel/hle_ipc.h +++ b/src/core/hle/kernel/hle_ipc.h @@ -140,6 +140,10 @@ public: return data_payload_offset; } + const std::vector<IPC::BufferDescriptorX>& BufferDescriptorX() const { + return buffer_x_desciptors; + } + private: std::array<u32, IPC::COMMAND_BUFFER_LENGTH> cmd_buf; SharedPtr<ServerSession> session; @@ -150,6 +154,10 @@ private: std::unique_ptr<IPC::HandleDescriptorHeader> handle_descriptor_header; std::unique_ptr<IPC::DataPayloadHeader> data_payload_header; std::unique_ptr<IPC::DomainMessageHeader> domain_message_header; + std::vector<IPC::BufferDescriptorX> buffer_x_desciptors; + std::vector<IPC::BufferDescriptorABW> buffer_a_desciptors; + std::vector<IPC::BufferDescriptorABW> buffer_b_desciptors; + std::vector<IPC::BufferDescriptorABW> buffer_w_desciptors; unsigned data_payload_offset{}; u32_le command{}; |
