diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2022-12-25 20:00:20 +0100 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2022-12-29 00:46:53 +0100 |
commit | e7032d9e641f99366242000fbc9ca59a55d1a95f (patch) | |
tree | bb5b6ae1d1f4bf1db9cd0d3d2b2ddcdb9336cdd6 /src/core/hle/service/hid/hid.cpp | |
parent | nvflinger: Split Parcel class into InputParcel and OutputParcel (diff) | |
download | yuzu-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 '')
-rw-r--r-- | src/core/hle/service/hid/hid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp index 80db6af06..294fe927b 100644 --- a/src/core/hle/service/hid/hid.cpp +++ b/src/core/hle/service/hid/hid.cpp @@ -1026,7 +1026,7 @@ void Hid::SetSupportedNpadIdType(Kernel::HLERequestContext& ctx) { const auto applet_resource_user_id{rp.Pop<u64>()}; applet_resource->GetController<Controller_NPad>(HidController::NPad) - .SetSupportedNpadIdTypes(ctx.ReadBufferSpan().data(), ctx.GetReadBufferSize()); + .SetSupportedNpadIdTypes(ctx.ReadBufferSpan()); LOG_DEBUG(Service_HID, "called, applet_resource_user_id={}", applet_resource_user_id); |