aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/hid/hidbus.cpp
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2022-12-25 14:00:20 -0500
committerameerj <52414509+ameerj@users.noreply.github.com>2022-12-28 18:46:53 -0500
commite7032d9e641f99366242000fbc9ca59a55d1a95f (patch)
treebb5b6ae1d1f4bf1db9cd0d3d2b2ddcdb9336cdd6 /src/core/hle/service/hid/hidbus.cpp
parent32d01a39b010e3aabca8551767909fd388febf99 (diff)
hidbus: Use ReadBufferSpan
Diffstat (limited to 'src/core/hle/service/hid/hidbus.cpp')
-rw-r--r--src/core/hle/service/hid/hidbus.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/hidbus.cpp b/src/core/hle/service/hid/hidbus.cpp
index e5e50845f..abc15c34e 100644
--- a/src/core/hle/service/hid/hidbus.cpp
+++ b/src/core/hle/service/hid/hidbus.cpp
@@ -351,7 +351,7 @@ void HidBus::GetExternalDeviceId(Kernel::HLERequestContext& ctx) {
void HidBus::SendCommandAsync(Kernel::HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
- const auto data = ctx.ReadBuffer();
+ const auto data = ctx.ReadBufferSpan();
const auto bus_handle_{rp.PopRaw<BusHandle>()};
LOG_DEBUG(Service_HID,