summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorGravatar David Marcec2018-05-17 14:03:52 -0700
committerGravatar David Marcec2018-05-17 14:03:52 -0700
commitfd86cdb2e24a72f099889393da8236002be04565 (patch)
tree66aa2db4a4514c1cc82383f7d3e2d6d92d0c0cb4 /src/core/hle/kernel
parentMerge pull request #436 from bunnei/multi-core (diff)
downloadyuzu-fd86cdb2e24a72f099889393da8236002be04565.tar.gz
yuzu-fd86cdb2e24a72f099889393da8236002be04565.tar.xz
yuzu-fd86cdb2e24a72f099889393da8236002be04565.zip
Added 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) {