diff options
| author | 2021-05-08 02:21:50 -0700 | |
|---|---|---|
| committer | 2021-05-10 15:05:10 -0700 | |
| commit | d08bd3e062e629e34afa4e4947cfb6c28377e12f (patch) | |
| tree | ff3593e6e79c253eea3fac6c0cfaa4b9d05e5131 /src/core/hle/kernel | |
| parent | Merge pull request #6291 from lioncash/kern-shadow (diff) | |
| download | yuzu-d08bd3e062e629e34afa4e4947cfb6c28377e12f.tar.gz yuzu-d08bd3e062e629e34afa4e4947cfb6c28377e12f.tar.xz yuzu-d08bd3e062e629e34afa4e4947cfb6c28377e12f.zip | |
hle: ipc_helpers: Update IPC response generation for TIPC.
Diffstat (limited to 'src/core/hle/kernel')
| -rw-r--r-- | src/core/hle/kernel/hle_ipc.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/core/hle/kernel/hle_ipc.h b/src/core/hle/kernel/hle_ipc.h index 21e384706..7cdde2294 100644 --- a/src/core/hle/kernel/hle_ipc.h +++ b/src/core/hle/kernel/hle_ipc.h | |||
| @@ -132,6 +132,10 @@ public: | |||
| 132 | return command; | 132 | return command; |
| 133 | } | 133 | } |
| 134 | 134 | ||
| 135 | bool IsTipc() const { | ||
| 136 | return command_header->IsTipc(); | ||
| 137 | } | ||
| 138 | |||
| 135 | IPC::CommandType GetCommandType() const { | 139 | IPC::CommandType GetCommandType() const { |
| 136 | return command_header->type; | 140 | return command_header->type; |
| 137 | } | 141 | } |
| @@ -291,8 +295,10 @@ private: | |||
| 291 | std::vector<IPC::BufferDescriptorABW> buffer_w_desciptors; | 295 | std::vector<IPC::BufferDescriptorABW> buffer_w_desciptors; |
| 292 | std::vector<IPC::BufferDescriptorC> buffer_c_desciptors; | 296 | std::vector<IPC::BufferDescriptorC> buffer_c_desciptors; |
| 293 | 297 | ||
| 294 | unsigned data_payload_offset{}; | 298 | u32 data_payload_offset{}; |
| 295 | unsigned buffer_c_offset{}; | 299 | u32 buffer_c_offset{}; |
| 300 | u32 handles_offset{}; | ||
| 301 | u32 domain_offset{}; | ||
| 296 | u32_le command{}; | 302 | u32_le command{}; |
| 297 | 303 | ||
| 298 | std::vector<std::shared_ptr<SessionRequestHandler>> domain_request_handlers; | 304 | std::vector<std::shared_ptr<SessionRequestHandler>> domain_request_handlers; |