aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/nfc/mifare_user.cpp
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2022-12-25 14:31:53 -0500
committerameerj <52414509+ameerj@users.noreply.github.com>2022-12-28 18:46:54 -0500
commita1490d77ace26ec01a60541239d9a8524b88fcec (patch)
tree8da577293325c3f585a4d031288339885ca26a65 /src/core/hle/service/nfc/mifare_user.cpp
parent59c0f85407d1d5d80fb88e5a6b0bab8d1abf438f (diff)
hle_ipc: Rename ReadBufferSpan to ReadBuffer
Diffstat (limited to 'src/core/hle/service/nfc/mifare_user.cpp')
-rw-r--r--src/core/hle/service/nfc/mifare_user.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/nfc/mifare_user.cpp b/src/core/hle/service/nfc/mifare_user.cpp
index 7d391c936..51523a3ae 100644
--- a/src/core/hle/service/nfc/mifare_user.cpp
+++ b/src/core/hle/service/nfc/mifare_user.cpp
@@ -168,7 +168,7 @@ void MFIUser::StopDetection(Kernel::HLERequestContext& ctx) {
void MFIUser::Read(Kernel::HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
const auto device_handle{rp.Pop<u64>()};
- const auto buffer{ctx.ReadBufferSpan()};
+ const auto buffer{ctx.ReadBuffer()};
const auto number_of_commands{ctx.GetReadBufferNumElements<NFP::MifareReadBlockParameter>()};
std::vector<NFP::MifareReadBlockParameter> read_commands(number_of_commands);
@@ -209,7 +209,7 @@ void MFIUser::Read(Kernel::HLERequestContext& ctx) {
void MFIUser::Write(Kernel::HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
const auto device_handle{rp.Pop<u64>()};
- const auto buffer{ctx.ReadBufferSpan()};
+ const auto buffer{ctx.ReadBuffer()};
const auto number_of_commands{ctx.GetReadBufferNumElements<NFP::MifareWriteBlockParameter>()};
std::vector<NFP::MifareWriteBlockParameter> write_commands(number_of_commands);