summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/hle_ipc.cpp
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2022-12-25 20:30:21 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2022-12-29 00:46:54 +0100
commit59c0f85407d1d5d80fb88e5a6b0bab8d1abf438f (patch)
tree6bdae0197c525d6706ce83941aaf74f295a33922 /src/core/hle/kernel/hle_ipc.cpp
parentbsd: Use std::span for read payloads (diff)
downloadyuzu-59c0f85407d1d5d80fb88e5a6b0bab8d1abf438f.tar
yuzu-59c0f85407d1d5d80fb88e5a6b0bab8d1abf438f.tar.gz
yuzu-59c0f85407d1d5d80fb88e5a6b0bab8d1abf438f.tar.bz2
yuzu-59c0f85407d1d5d80fb88e5a6b0bab8d1abf438f.tar.lz
yuzu-59c0f85407d1d5d80fb88e5a6b0bab8d1abf438f.tar.xz
yuzu-59c0f85407d1d5d80fb88e5a6b0bab8d1abf438f.tar.zst
yuzu-59c0f85407d1d5d80fb88e5a6b0bab8d1abf438f.zip
Diffstat (limited to 'src/core/hle/kernel/hle_ipc.cpp')
-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 9bc72da02..36cf750de 100644
--- a/src/core/hle/kernel/hle_ipc.cpp
+++ b/src/core/hle/kernel/hle_ipc.cpp
@@ -325,7 +325,7 @@ Result HLERequestContext::WriteToOutgoingCommandBuffer(KThread& requesting_threa
return ResultSuccess;
}
-std::vector<u8> HLERequestContext::ReadBuffer(std::size_t buffer_index) const {
+std::vector<u8> HLERequestContext::ReadBufferCopy(std::size_t buffer_index) const {
const bool is_buffer_a{BufferDescriptorA().size() > buffer_index &&
BufferDescriptorA()[buffer_index].Size()};
if (is_buffer_a) {