aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/ipc_helpers.h
diff options
context:
space:
mode:
authormailwl <mailwl@gmail.com>2018-02-20 19:27:49 +0300
committermailwl <mailwl@gmail.com>2018-02-20 19:27:49 +0300
commit1572c45aa05febd01b3765706d701e935a5c60f3 (patch)
tree53c36e4bc1ec4d562314df88daa76667a5ce7deb /src/core/hle/ipc_helpers.h
parent6a2197806ef8ca045f43f340255b8e8195efe4e4 (diff)
IPC: add domain header to response if only it exists in request
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);