diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2018-01-18 16:54:34 -0300 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2018-01-18 14:54:34 -0500 |
| commit | 90b697db30bfc027ab3b5402879abbbd82a29dfd (patch) | |
| tree | ec98ab8ec825b0001face3a4e7c9b821bd67e0b2 /src/core/hle/ipc.h | |
| parent | 2c5658443e30c7086964c8359e9fe4974cfe8545 (diff) | |
Stub PopLaunchParameter and implement Buffer C Descriptors reading on hle_ipc (#96)
* Stub PopLaunchParameter and implement Buffer C Descriptors reading
* Address PR feedback
* Ensure we push a u64 not a size_t
* Fix formatting
Diffstat (limited to 'src/core/hle/ipc.h')
| -rw-r--r-- | src/core/hle/ipc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/ipc.h b/src/core/hle/ipc.h index 1840fac12c..0dcaede678 100644 --- a/src/core/hle/ipc.h +++ b/src/core/hle/ipc.h @@ -133,6 +133,10 @@ struct BufferDescriptorC { address |= static_cast<VAddr>(address_bits_32_47) << 32; return address; } + + u64 Size() const { + return static_cast<u64>(size); + } }; static_assert(sizeof(BufferDescriptorC) == 8, "BufferDescriptorC size is incorrect"); |
