hle_ipc: Add helper functions for reading and writing buffers.
This commit is contained in:
parent
4f8ee5e456
commit
1ce6fff064
3 changed files with 55 additions and 0 deletions
|
@ -91,6 +91,10 @@ struct BufferDescriptorX {
|
|||
address |= static_cast<VAddr>(address_bits_36_38) << 36;
|
||||
return address;
|
||||
}
|
||||
|
||||
u64 Size() const {
|
||||
return static_cast<u64>(size);
|
||||
}
|
||||
};
|
||||
static_assert(sizeof(BufferDescriptorX) == 8, "BufferDescriptorX size is incorrect");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue