VERY experimental Nintendo Switch 2 emulator
C++
Add warning if Domain request has no domain message header
mailwldadb6c6e5032
diff --git a/src/core/hle/kernel/hle_ipc.cpp b/src/core/hle/kernel/hle_ipc.cppindex eef784f5eb..d9faf4b535 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!");}}