diff options
| author | 2018-05-19 17:03:30 -0500 | |
|---|---|---|
| committer | 2018-05-19 17:03:30 -0500 | |
| commit | 353e1dd7e43e06b3607a6bd07e93ed2e0da2fcfc (patch) | |
| tree | 0a2fe597d4270bbf37d0bd4b008faf8723ec1a7f /src/core/hle/kernel | |
| parent | Add and correct some Error Modules (#444) (diff) | |
| parent | Added RequestWithContext & ControlWithContext (diff) | |
| download | yuzu-353e1dd7e43e06b3607a6bd07e93ed2e0da2fcfc.tar.gz yuzu-353e1dd7e43e06b3607a6bd07e93ed2e0da2fcfc.tar.xz yuzu-353e1dd7e43e06b3607a6bd07e93ed2e0da2fcfc.zip | |
Merge pull request #443 from ogniK5377/ipc-500
Added IPC RequestWithContext & ControlWithContext
Diffstat (limited to 'src/core/hle/kernel')
| -rw-r--r-- | src/core/hle/kernel/hle_ipc.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hle/kernel/hle_ipc.cpp b/src/core/hle/kernel/hle_ipc.cpp index 349bc11df..01904467e 100644 --- a/src/core/hle/kernel/hle_ipc.cpp +++ b/src/core/hle/kernel/hle_ipc.cpp | |||
| @@ -110,7 +110,9 @@ void HLERequestContext::ParseCommandBuffer(u32_le* src_cmdbuf, bool incoming) { | |||
| 110 | // Padding to align to 16 bytes | 110 | // Padding to align to 16 bytes |
| 111 | rp.AlignWithPadding(); | 111 | rp.AlignWithPadding(); |
| 112 | 112 | ||
| 113 | if (Session()->IsDomain() && (command_header->type == IPC::CommandType::Request || !incoming)) { | 113 | if (Session()->IsDomain() && ((command_header->type == IPC::CommandType::Request || |
| 114 | command_header->type == IPC::CommandType::RequestWithContext) || | ||
| 115 | !incoming)) { | ||
| 114 | // If this is an incoming message, only CommandType "Request" has a domain header | 116 | // If this is an incoming message, only CommandType "Request" has a domain header |
| 115 | // All outgoing domain messages have the domain header, if only incoming has it | 117 | // All outgoing domain messages have the domain header, if only incoming has it |
| 116 | if (incoming || domain_message_header) { | 118 | if (incoming || domain_message_header) { |