summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/hle_ipc.h
diff options
context:
space:
mode:
authorDavid <25727384+ogniK5377@users.noreply.github.com>2018-05-01 22:28:36 +0200
committerbunnei <bunneidev@gmail.com>2018-05-01 22:28:36 +0200
commitff2f0d980ae613e64a9bc46ec4793b1a033426b3 (patch)
tree337e684389231717c18c7bdd6c0bef85c294f24e /src/core/hle/kernel/hle_ipc.h
parentMerge pull request #425 from lioncash/namespace (diff)
downloadyuzu-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 'src/core/hle/kernel/hle_ipc.h')
-rw-r--r--src/core/hle/kernel/hle_ipc.h10
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) {