diff options
author | bunnei <bunneidev@gmail.com> | 2019-11-05 22:55:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-05 22:55:11 +0100 |
commit | 4dc068a90c58e6204173af20f1a6ef29b48ddb28 (patch) | |
tree | 16d0f4aa4c4a11222c6950b3ad60e7d1d9905036 /src/core/hle/ipc.h | |
parent | Merge pull request #3059 from FearlessTobi/stub-am-commands (diff) | |
parent | common_func: Use std::array for INSERT_PADDING_* macros. (diff) | |
download | yuzu-4dc068a90c58e6204173af20f1a6ef29b48ddb28.tar yuzu-4dc068a90c58e6204173af20f1a6ef29b48ddb28.tar.gz yuzu-4dc068a90c58e6204173af20f1a6ef29b48ddb28.tar.bz2 yuzu-4dc068a90c58e6204173af20f1a6ef29b48ddb28.tar.lz yuzu-4dc068a90c58e6204173af20f1a6ef29b48ddb28.tar.xz yuzu-4dc068a90c58e6204173af20f1a6ef29b48ddb28.tar.zst yuzu-4dc068a90c58e6204173af20f1a6ef29b48ddb28.zip |
Diffstat (limited to 'src/core/hle/ipc.h')
-rw-r--r-- | src/core/hle/ipc.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/hle/ipc.h b/src/core/hle/ipc.h index fae54bcc7..7ce313190 100644 --- a/src/core/hle/ipc.h +++ b/src/core/hle/ipc.h @@ -160,7 +160,7 @@ struct DomainMessageHeader { // Used when responding to an IPC request, Server -> Client. struct { u32_le num_objects; - INSERT_PADDING_WORDS(3); + INSERT_UNION_PADDING_WORDS(3); }; // Used when performing an IPC request, Client -> Server. @@ -171,8 +171,10 @@ struct DomainMessageHeader { BitField<16, 16, u32> size; }; u32_le object_id; - INSERT_PADDING_WORDS(2); + INSERT_UNION_PADDING_WORDS(2); }; + + std::array<u32, 4> raw{}; }; }; static_assert(sizeof(DomainMessageHeader) == 16, "DomainMessageHeader size is incorrect"); |