hle_ipc: Add GetReadBufferSize and check write buffer size.

This commit is contained in:
bunnei
2018-02-14 00:14:17 -05:00
parent 516a95721c
commit 6fd19f05f1
2 changed files with 10 additions and 0 deletions

View File

@ -152,6 +152,9 @@ public:
/// Helper function to write a buffer using the appropriate buffer descriptor
size_t WriteBuffer(const std::vector<u8>& buffer) const;
/// Helper function to get the size of the input buffer
size_t GetReadBufferSize() const;
/// Helper function to get the size of the output buffer
size_t GetWriteBufferSize() const;