summaryrefslogtreecommitdiff
path: root/src/core/hle/ipc.h
diff options
context:
space:
mode:
authorGravatar gdkchan2018-01-18 16:54:34 -0300
committerGravatar bunnei2018-01-18 14:54:34 -0500
commit59575d5cae573b57eb9e1e611e2c25ceb935ec0a (patch)
treeec98ab8ec825b0001face3a4e7c9b821bd67e0b2 /src/core/hle/ipc.h
parentStart to implement/stub BSD:U and SFDNSRES services (#78) (diff)
downloadyuzu-59575d5cae573b57eb9e1e611e2c25ceb935ec0a.tar.gz
yuzu-59575d5cae573b57eb9e1e611e2c25ceb935ec0a.tar.xz
yuzu-59575d5cae573b57eb9e1e611e2c25ceb935ec0a.zip
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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/ipc.h b/src/core/hle/ipc.h
index 1840fac12..0dcaede67 100644
--- a/src/core/hle/ipc.h
+++ b/src/core/hle/ipc.h
@@ -133,6 +133,10 @@ struct BufferDescriptorC {
133 address |= static_cast<VAddr>(address_bits_32_47) << 32; 133 address |= static_cast<VAddr>(address_bits_32_47) << 32;
134 return address; 134 return address;
135 } 135 }
136
137 u64 Size() const {
138 return static_cast<u64>(size);
139 }
136}; 140};
137static_assert(sizeof(BufferDescriptorC) == 8, "BufferDescriptorC size is incorrect"); 141static_assert(sizeof(BufferDescriptorC) == 8, "BufferDescriptorC size is incorrect");
138 142