summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/hidbus.cpp
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2022-12-25 20:00:20 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2022-12-29 00:46:53 +0100
commite7032d9e641f99366242000fbc9ca59a55d1a95f (patch)
treebb5b6ae1d1f4bf1db9cd0d3d2b2ddcdb9336cdd6 /src/core/hle/service/hid/hidbus.cpp
parentnvflinger: Split Parcel class into InputParcel and OutputParcel (diff)
downloadyuzu-e7032d9e641f99366242000fbc9ca59a55d1a95f.tar
yuzu-e7032d9e641f99366242000fbc9ca59a55d1a95f.tar.gz
yuzu-e7032d9e641f99366242000fbc9ca59a55d1a95f.tar.bz2
yuzu-e7032d9e641f99366242000fbc9ca59a55d1a95f.tar.lz
yuzu-e7032d9e641f99366242000fbc9ca59a55d1a95f.tar.xz
yuzu-e7032d9e641f99366242000fbc9ca59a55d1a95f.tar.zst
yuzu-e7032d9e641f99366242000fbc9ca59a55d1a95f.zip
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,