summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/hle_ipc.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-07-20 01:18:38 +0200
committerGitHub <noreply@github.com>2018-07-20 01:18:38 +0200
commitd3cfaf95c883512691df01e90d8ab7e8873c2c3d (patch)
tree0a9ca7761857f6855ed30f8ef2f99674cd7d119c /src/core/hle/kernel/hle_ipc.cpp
parentMerge pull request #725 from lioncash/bytes (diff)
parenthle_ipc: Introduce generic WriteBuffer overload for multiple container types (diff)
downloadyuzu-d3cfaf95c883512691df01e90d8ab7e8873c2c3d.tar
yuzu-d3cfaf95c883512691df01e90d8ab7e8873c2c3d.tar.gz
yuzu-d3cfaf95c883512691df01e90d8ab7e8873c2c3d.tar.bz2
yuzu-d3cfaf95c883512691df01e90d8ab7e8873c2c3d.tar.lz
yuzu-d3cfaf95c883512691df01e90d8ab7e8873c2c3d.tar.xz
yuzu-d3cfaf95c883512691df01e90d8ab7e8873c2c3d.tar.zst
yuzu-d3cfaf95c883512691df01e90d8ab7e8873c2c3d.zip
Diffstat (limited to 'src/core/hle/kernel/hle_ipc.cpp')
-rw-r--r--src/core/hle/kernel/hle_ipc.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/hle/kernel/hle_ipc.cpp b/src/core/hle/kernel/hle_ipc.cpp
index 911e6fbc1..8f40bdd5a 100644
--- a/src/core/hle/kernel/hle_ipc.cpp
+++ b/src/core/hle/kernel/hle_ipc.cpp
@@ -301,10 +301,6 @@ size_t HLERequestContext::WriteBuffer(const void* buffer, size_t size, int buffe
return size;
}
-size_t HLERequestContext::WriteBuffer(const std::vector<u8>& buffer, int buffer_index) const {
- return WriteBuffer(buffer.data(), buffer.size(), buffer_index);
-}
-
size_t HLERequestContext::GetReadBufferSize(int buffer_index) const {
const bool is_buffer_a{BufferDescriptorA().size() && BufferDescriptorA()[buffer_index].Size()};
return is_buffer_a ? BufferDescriptorA()[buffer_index].Size()