summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormailwl <mailwl@gmail.com>2018-02-20 22:51:54 +0300
committermailwl <mailwl@gmail.com>2018-02-20 22:51:54 +0300
commit1289a3c3c154b198e44ceff3097bd8a50039b23a (patch)
treefdf40905d9ae45f5799fcca29cbd6742d22d52a9 /src
parent827152d1fd72d13b47b331f64455fc2a641877b1 (diff)
Add warning if Domain request has no domain message header
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/kernel/hle_ipc.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/hle_ipc.cpp b/src/core/hle/kernel/hle_ipc.cpp
index eef784f5e..d9faf4b53 100644
--- a/src/core/hle/kernel/hle_ipc.cpp
+++ b/src/core/hle/kernel/hle_ipc.cpp
@@ -89,6 +89,9 @@ void HLERequestContext::ParseCommandBuffer(u32_le* src_cmdbuf, bool incoming) {
if (incoming || domain_message_header) {
domain_message_header =
std::make_unique<IPC::DomainMessageHeader>(rp.PopRaw<IPC::DomainMessageHeader>());
+ } else {
+ if (Session()->IsDomain())
+ LOG_WARNING(IPC, "Domain request has no DomainMessageHeader!");
}
}