summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/ngct
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/ngct
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/ngct')
-rw-r--r--src/core/hle/service/ngct/ngct.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/ngct/ngct.cpp b/src/core/hle/service/ngct/ngct.cpp
index bee62b054..8af8a835d 100644
--- a/src/core/hle/service/ngct/ngct.cpp
+++ b/src/core/hle/service/ngct/ngct.cpp
@@ -24,7 +24,7 @@ public:
private:
void Match(Kernel::HLERequestContext& ctx) {
- const auto buffer = ctx.ReadBufferSpan();
+ const auto buffer = ctx.ReadBuffer();
const auto text = Common::StringFromFixedZeroTerminatedBuffer(
reinterpret_cast<const char*>(buffer.data()), buffer.size());
@@ -37,7 +37,7 @@ private:
}
void Filter(Kernel::HLERequestContext& ctx) {
- const auto buffer = ctx.ReadBufferSpan();
+ const auto buffer = ctx.ReadBuffer();
const auto text = Common::StringFromFixedZeroTerminatedBuffer(
reinterpret_cast<const char*>(buffer.data()), buffer.size());