diff options
author | german77 <juangerman-13@hotmail.com> | 2022-01-17 06:02:02 +0100 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2022-01-19 21:20:31 +0100 |
commit | 8fa0416fee5f3dd7402bb6338917bba3e478e2aa (patch) | |
tree | b1629161fb2ea0aeb66734556d0ce49c9a7b0725 /src | |
parent | Merge pull request #7725 from german77/mouse_in_motion (diff) | |
download | yuzu-8fa0416fee5f3dd7402bb6338917bba3e478e2aa.tar yuzu-8fa0416fee5f3dd7402bb6338917bba3e478e2aa.tar.gz yuzu-8fa0416fee5f3dd7402bb6338917bba3e478e2aa.tar.bz2 yuzu-8fa0416fee5f3dd7402bb6338917bba3e478e2aa.tar.lz yuzu-8fa0416fee5f3dd7402bb6338917bba3e478e2aa.tar.xz yuzu-8fa0416fee5f3dd7402bb6338917bba3e478e2aa.tar.zst yuzu-8fa0416fee5f3dd7402bb6338917bba3e478e2aa.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/service/hid/hid.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp index 84da38b3b..a2bf7defb 100644 --- a/src/core/hle/service/hid/hid.cpp +++ b/src/core/hle/service/hid/hid.cpp @@ -1176,7 +1176,8 @@ void Hid::SetNpadAnalogStickUseCenterClamp(Kernel::HLERequestContext& ctx) { const auto parameters{rp.PopRaw<Parameters>()}; - applet_resource->GetController<Controller_NPad>(HidController::NPad) + GetAppletResource() + ->GetController<Controller_NPad>(HidController::NPad) .SetAnalogStickUseCenterClamp(parameters.analog_stick_use_center_clamp); LOG_WARNING(Service_HID, |