diff options
author | Lioncash <mathew1800@gmail.com> | 2018-10-30 04:20:17 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-10-30 04:28:04 +0100 |
commit | 6383653a8df93d3daa1d5b8e1e694905684ccbda (patch) | |
tree | bba8b85a3aacf904bb5b1a18a87f69b586f0bca7 /src/core/hle/ipc_helpers.h | |
parent | hle_ipc: Make GetDomainMessageHeader return a regular pointer (diff) | |
download | yuzu-6383653a8df93d3daa1d5b8e1e694905684ccbda.tar yuzu-6383653a8df93d3daa1d5b8e1e694905684ccbda.tar.gz yuzu-6383653a8df93d3daa1d5b8e1e694905684ccbda.tar.bz2 yuzu-6383653a8df93d3daa1d5b8e1e694905684ccbda.tar.lz yuzu-6383653a8df93d3daa1d5b8e1e694905684ccbda.tar.xz yuzu-6383653a8df93d3daa1d5b8e1e694905684ccbda.tar.zst yuzu-6383653a8df93d3daa1d5b8e1e694905684ccbda.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/ipc_helpers.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/ipc_helpers.h b/src/core/hle/ipc_helpers.h index a4bfe2eb0..0a7142ada 100644 --- a/src/core/hle/ipc_helpers.h +++ b/src/core/hle/ipc_helpers.h @@ -117,8 +117,7 @@ public: AlignWithPadding(); - const bool request_has_domain_header{context.GetDomainMessageHeader() != nullptr}; - if (context.Session()->IsDomain() && request_has_domain_header) { + if (context.Session()->IsDomain() && context.HasDomainMessageHeader()) { IPC::DomainMessageHeader domain_header{}; domain_header.num_objects = num_domain_objects; PushRaw(domain_header); |