summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/prepo/prepo.cpp
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2022-12-25 20:31:53 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2022-12-29 00:46:54 +0100
commita1490d77ace26ec01a60541239d9a8524b88fcec (patch)
tree8da577293325c3f585a4d031288339885ca26a65 /src/core/hle/service/prepo/prepo.cpp
parenthle_ipc: Rename ReadBuffer to ReadBufferCopy (diff)
downloadyuzu-a1490d77ace26ec01a60541239d9a8524b88fcec.tar
yuzu-a1490d77ace26ec01a60541239d9a8524b88fcec.tar.gz
yuzu-a1490d77ace26ec01a60541239d9a8524b88fcec.tar.bz2
yuzu-a1490d77ace26ec01a60541239d9a8524b88fcec.tar.lz
yuzu-a1490d77ace26ec01a60541239d9a8524b88fcec.tar.xz
yuzu-a1490d77ace26ec01a60541239d9a8524b88fcec.tar.zst
yuzu-a1490d77ace26ec01a60541239d9a8524b88fcec.zip
Diffstat (limited to 'src/core/hle/service/prepo/prepo.cpp')
-rw-r--r--src/core/hle/service/prepo/prepo.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/core/hle/service/prepo/prepo.cpp b/src/core/hle/service/prepo/prepo.cpp
index f6a141b2e..01040b32a 100644
--- a/src/core/hle/service/prepo/prepo.cpp
+++ b/src/core/hle/service/prepo/prepo.cpp
@@ -57,10 +57,10 @@ private:
IPC::RequestParser rp{ctx};
const auto process_id = rp.PopRaw<u64>();
- const auto data1 = ctx.ReadBufferSpan(0);
+ const auto data1 = ctx.ReadBuffer(0);
const auto data2 = [&ctx] {
if (ctx.CanReadBuffer(1)) {
- return ctx.ReadBufferSpan(1);
+ return ctx.ReadBuffer(1);
}
return std::span<const u8>{};
@@ -84,10 +84,10 @@ private:
const auto user_id = rp.PopRaw<u128>();
const auto process_id = rp.PopRaw<u64>();
- const auto data1 = ctx.ReadBufferSpan(0);
+ const auto data1 = ctx.ReadBuffer(0);
const auto data2 = [&ctx] {
if (ctx.CanReadBuffer(1)) {
- return ctx.ReadBufferSpan(1);
+ return ctx.ReadBuffer(1);
}
return std::span<const u8>{};
@@ -136,10 +136,10 @@ private:
IPC::RequestParser rp{ctx};
const auto title_id = rp.PopRaw<u64>();
- const auto data1 = ctx.ReadBufferSpan(0);
+ const auto data1 = ctx.ReadBuffer(0);
const auto data2 = [&ctx] {
if (ctx.CanReadBuffer(1)) {
- return ctx.ReadBufferSpan(1);
+ return ctx.ReadBuffer(1);
}
return std::span<const u8>{};
@@ -160,10 +160,10 @@ private:
const auto user_id = rp.PopRaw<u128>();
const auto title_id = rp.PopRaw<u64>();
- const auto data1 = ctx.ReadBufferSpan(0);
+ const auto data1 = ctx.ReadBuffer(0);
const auto data2 = [&ctx] {
if (ctx.CanReadBuffer(1)) {
- return ctx.ReadBufferSpan(1);
+ return ctx.ReadBuffer(1);
}
return std::span<const u8>{};