summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar mailwl2018-02-20 22:51:54 +0300
committerGravatar mailwl2018-02-20 22:51:54 +0300
commit1289a3c3c154b198e44ceff3097bd8a50039b23a (patch)
treefdf40905d9ae45f5799fcca29cbd6742d22d52a9 /src
parentFix: change check for domain order and existance of domain message header (diff)
downloadyuzu-1289a3c3c154b198e44ceff3097bd8a50039b23a.tar.gz
yuzu-1289a3c3c154b198e44ceff3097bd8a50039b23a.tar.xz
yuzu-1289a3c3c154b198e44ceff3097bd8a50039b23a.zip
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) {
89 if (incoming || domain_message_header) { 89 if (incoming || domain_message_header) {
90 domain_message_header = 90 domain_message_header =
91 std::make_unique<IPC::DomainMessageHeader>(rp.PopRaw<IPC::DomainMessageHeader>()); 91 std::make_unique<IPC::DomainMessageHeader>(rp.PopRaw<IPC::DomainMessageHeader>());
92 } else {
93 if (Session()->IsDomain())
94 LOG_WARNING(IPC, "Domain request has no DomainMessageHeader!");
92 } 95 }
93 } 96 }
94 97