forked from suyu/suyu
hle_ipc: Remove const from WriteBuffer size.
This commit is contained in:
parent
6fd19f05f1
commit
88bfec37ce
2 changed files with 2 additions and 2 deletions
|
@ -226,7 +226,7 @@ std::vector<u8> HLERequestContext::ReadBuffer() const {
|
|||
return buffer;
|
||||
}
|
||||
|
||||
size_t HLERequestContext::WriteBuffer(const void* buffer, const size_t size) const {
|
||||
size_t HLERequestContext::WriteBuffer(const void* buffer, size_t size) const {
|
||||
const bool is_buffer_b{BufferDescriptorB().size() && BufferDescriptorB()[0].Size()};
|
||||
|
||||
ASSERT_MSG(size <= GetWriteBufferSize(), "Size %d is too big", size);
|
||||
|
|
|
@ -147,7 +147,7 @@ public:
|
|||
std::vector<u8> ReadBuffer() const;
|
||||
|
||||
/// Helper function to write a buffer using the appropriate buffer descriptor
|
||||
size_t WriteBuffer(const void* buffer, const size_t size) const;
|
||||
size_t WriteBuffer(const void* buffer, size_t size) const;
|
||||
|
||||
/// Helper function to write a buffer using the appropriate buffer descriptor
|
||||
size_t WriteBuffer(const std::vector<u8>& buffer) const;
|
||||
|
|
Loading…
Reference in a new issue