Explorar o código

Add warning if Domain request has no domain message header

mailwl %!s(int64=8) %!d(string=hai) anos
pai
achega
1289a3c3c1
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/core/hle/kernel/hle_ipc.cpp

+ 3 - 0
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!");
         }
     }