summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/hle_ipc.cpp
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2018-05-17 23:03:52 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2018-05-17 23:03:52 +0200
commitfd86cdb2e24a72f099889393da8236002be04565 (patch)
tree66aa2db4a4514c1cc82383f7d3e2d6d92d0c0cb4 /src/core/hle/kernel/hle_ipc.cpp
parentMerge pull request #436 from bunnei/multi-core (diff)
downloadyuzu-fd86cdb2e24a72f099889393da8236002be04565.tar
yuzu-fd86cdb2e24a72f099889393da8236002be04565.tar.gz
yuzu-fd86cdb2e24a72f099889393da8236002be04565.tar.bz2
yuzu-fd86cdb2e24a72f099889393da8236002be04565.tar.lz
yuzu-fd86cdb2e24a72f099889393da8236002be04565.tar.xz
yuzu-fd86cdb2e24a72f099889393da8236002be04565.tar.zst
yuzu-fd86cdb2e24a72f099889393da8236002be04565.zip
Diffstat (limited to '')
-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) {
// 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) {