diff options
| author | Sebastian Valle <subv2112@gmail.com> | 2018-05-19 17:03:30 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-19 17:03:30 -0500 |
| commit | 353e1dd7e43e06b3607a6bd07e93ed2e0da2fcfc (patch) | |
| tree | 0a2fe597d4270bbf37d0bd4b008faf8723ec1a7f /src/core/hle/kernel | |
| parent | a215f63235508050003859e9fe34f092c9573472 (diff) | |
| parent | fd86cdb2e24a72f099889393da8236002be04565 (diff) | |
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) { // Padding to align to 16 bytes rp.AlignWithPadding(); - if (Session()->IsDomain() && (command_header->type == IPC::CommandType::Request || !incoming)) { + if (Session()->IsDomain() && ((command_header->type == IPC::CommandType::Request || + command_header->type == IPC::CommandType::RequestWithContext) || + !incoming)) { // If this is an incoming message, only CommandType "Request" has a domain header // All outgoing domain messages have the domain header, if only incoming has it if (incoming || domain_message_header) { |
