summaryrefslogtreecommitdiffstats
path: root/src/core/hle/ipc_helpers.h
diff options
context:
space:
mode:
authormailwl <mailwl@gmail.com>2018-02-20 17:27:49 +0100
committermailwl <mailwl@gmail.com>2018-02-20 17:27:49 +0100
commit1572c45aa05febd01b3765706d701e935a5c60f3 (patch)
tree53c36e4bc1ec4d562314df88daa76667a5ce7deb /src/core/hle/ipc_helpers.h
parentMerge pull request #206 from mailwl/aoc-listaddoncontent (diff)
downloadyuzu-1572c45aa05febd01b3765706d701e935a5c60f3.tar
yuzu-1572c45aa05febd01b3765706d701e935a5c60f3.tar.gz
yuzu-1572c45aa05febd01b3765706d701e935a5c60f3.tar.bz2
yuzu-1572c45aa05febd01b3765706d701e935a5c60f3.tar.lz
yuzu-1572c45aa05febd01b3765706d701e935a5c60f3.tar.xz
yuzu-1572c45aa05febd01b3765706d701e935a5c60f3.tar.zst
yuzu-1572c45aa05febd01b3765706d701e935a5c60f3.zip
Diffstat (limited to 'src/core/hle/ipc_helpers.h')
-rw-r--r--src/core/hle/ipc_helpers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/ipc_helpers.h b/src/core/hle/ipc_helpers.h
index 6066d8a18..97290fec5 100644
--- a/src/core/hle/ipc_helpers.h
+++ b/src/core/hle/ipc_helpers.h
@@ -118,7 +118,7 @@ public:
AlignWithPadding();
- if (context.Session()->IsDomain()) {
+ if (context.Session()->IsDomain() && context.GetDomainMessageHeader()) {
IPC::DomainMessageHeader domain_header{};
domain_header.num_objects = num_domain_objects;
PushRaw(domain_header);