aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/hle_ipc.cpp
diff options
context:
space:
mode:
authormailwl <mailwl@gmail.com>2018-02-20 21:59:58 +0300
committermailwl <mailwl@gmail.com>2018-02-20 21:59:58 +0300
commit2ba8b89864bea1bb6f88502695884fa024c7e0e8 (patch)
tree7233f6661549d2c0d1de8c037c7124f47b3f57b4 /src/core/hle/kernel/hle_ipc.cpp
parente05f10cae8c88b0cef74573a5c63e1bbdbd429e8 (diff)
Fix: change check for domain order and existance of domain message header
Diffstat (limited to 'src/core/hle/kernel/hle_ipc.cpp')
-rw-r--r--src/core/hle/kernel/hle_ipc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/hle_ipc.cpp b/src/core/hle/kernel/hle_ipc.cpp
index 3b1f3154de..eef784f5eb 100644
--- a/src/core/hle/kernel/hle_ipc.cpp
+++ b/src/core/hle/kernel/hle_ipc.cpp
@@ -198,7 +198,7 @@ ResultCode HLERequestContext::WriteToOutgoingCommandBuffer(u32_le* dst_cmdbuf, P
// TODO(Subv): Translate the X/A/B/W buffers.
- if (domain_message_header && Session()->IsDomain()) {
+ if (Session()->IsDomain() && domain_message_header) {
ASSERT(domain_message_header->num_objects == domain_objects.size());
// Write the domain objects to the command buffer, these go after the raw untranslated data.
// TODO(Subv): This completely ignores C buffers.