diff options
author | David <25727384+ogniK5377@users.noreply.github.com> | 2018-05-01 22:28:36 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-05-01 22:28:36 +0200 |
commit | ff2f0d980ae613e64a9bc46ec4793b1a033426b3 (patch) | |
tree | 337e684389231717c18c7bdd6c0bef85c294f24e /src/core/hle/kernel/hle_ipc.h | |
parent | Merge pull request #425 from lioncash/namespace (diff) | |
download | yuzu-ff2f0d980ae613e64a9bc46ec4793b1a033426b3.tar yuzu-ff2f0d980ae613e64a9bc46ec4793b1a033426b3.tar.gz yuzu-ff2f0d980ae613e64a9bc46ec4793b1a033426b3.tar.bz2 yuzu-ff2f0d980ae613e64a9bc46ec4793b1a033426b3.tar.lz yuzu-ff2f0d980ae613e64a9bc46ec4793b1a033426b3.tar.xz yuzu-ff2f0d980ae613e64a9bc46ec4793b1a033426b3.tar.zst yuzu-ff2f0d980ae613e64a9bc46ec4793b1a033426b3.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/hle_ipc.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/hle/kernel/hle_ipc.h b/src/core/hle/kernel/hle_ipc.h index 8b35da4c9..6d4ed7648 100644 --- a/src/core/hle/kernel/hle_ipc.h +++ b/src/core/hle/kernel/hle_ipc.h @@ -164,19 +164,19 @@ public: } /// Helper function to read a buffer using the appropriate buffer descriptor - std::vector<u8> ReadBuffer() const; + std::vector<u8> ReadBuffer(int buffer_index = 0) const; /// Helper function to write a buffer using the appropriate buffer descriptor - size_t WriteBuffer(const void* buffer, size_t size) const; + size_t WriteBuffer(const void* buffer, size_t size, int buffer_index = 0) const; /// Helper function to write a buffer using the appropriate buffer descriptor - size_t WriteBuffer(const std::vector<u8>& buffer) const; + size_t WriteBuffer(const std::vector<u8>& buffer, int buffer_index = 0) const; /// Helper function to get the size of the input buffer - size_t GetReadBufferSize() const; + size_t GetReadBufferSize(int buffer_index = 0) const; /// Helper function to get the size of the output buffer - size_t GetWriteBufferSize() const; + size_t GetWriteBufferSize(int buffer_index = 0) const; template <typename T> SharedPtr<T> GetCopyObject(size_t index) { |