summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorSebastian Valle <subv2112@gmail.com>2018-07-19 21:36:34 +0200
committerGitHub <noreply@github.com>2018-07-19 21:36:34 +0200
commit7eace8f512305baabef78f5c93dff06b2a4bf47e (patch)
treef3755ba9a3e2692755d4772eff1eaedb913d64e0 /src/core/hle/kernel
parentMerge pull request #712 from lioncash/fsp (diff)
parenthle_ipc: Amend usage of buffer_index within one of HLERequestContext's WriteBuffer() overloads (diff)
downloadyuzu-7eace8f512305baabef78f5c93dff06b2a4bf47e.tar
yuzu-7eace8f512305baabef78f5c93dff06b2a4bf47e.tar.gz
yuzu-7eace8f512305baabef78f5c93dff06b2a4bf47e.tar.bz2
yuzu-7eace8f512305baabef78f5c93dff06b2a4bf47e.tar.lz
yuzu-7eace8f512305baabef78f5c93dff06b2a4bf47e.tar.xz
yuzu-7eace8f512305baabef78f5c93dff06b2a4bf47e.tar.zst
yuzu-7eace8f512305baabef78f5c93dff06b2a4bf47e.zip
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r--src/core/hle/kernel/hle_ipc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/hle_ipc.cpp b/src/core/hle/kernel/hle_ipc.cpp
index b89c8c33d..911e6fbc1 100644
--- a/src/core/hle/kernel/hle_ipc.cpp
+++ b/src/core/hle/kernel/hle_ipc.cpp
@@ -302,7 +302,7 @@ size_t HLERequestContext::WriteBuffer(const void* buffer, size_t size, int buffe
}
size_t HLERequestContext::WriteBuffer(const std::vector<u8>& buffer, int buffer_index) const {
- return WriteBuffer(buffer.data(), buffer.size());
+ return WriteBuffer(buffer.data(), buffer.size(), buffer_index);
}
size_t HLERequestContext::GetReadBufferSize(int buffer_index) const {