summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorGravatar Sebastian Valle2018-05-19 17:03:30 -0500
committerGravatar GitHub2018-05-19 17:03:30 -0500
commit353e1dd7e43e06b3607a6bd07e93ed2e0da2fcfc (patch)
tree0a2fe597d4270bbf37d0bd4b008faf8723ec1a7f /src/core/hle/kernel
parentAdd and correct some Error Modules (#444) (diff)
parentAdded RequestWithContext & ControlWithContext (diff)
downloadyuzu-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.cpp4
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) {