summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2023-01-29 01:19:15 +0100
committerNarr the Reg <juangerman-13@hotmail.com>2023-02-01 19:42:05 +0100
commit75e81885b0bd38ece84a94b2d323b05d788f8741 (patch)
treec0ed8431e0a29906b41f5a6f74d9f2ddd449e99b /src/core/hle
parentMerge pull request #9707 from german77/clang15 (diff)
downloadyuzu-75e81885b0bd38ece84a94b2d323b05d788f8741.tar
yuzu-75e81885b0bd38ece84a94b2d323b05d788f8741.tar.gz
yuzu-75e81885b0bd38ece84a94b2d323b05d788f8741.tar.bz2
yuzu-75e81885b0bd38ece84a94b2d323b05d788f8741.tar.lz
yuzu-75e81885b0bd38ece84a94b2d323b05d788f8741.tar.xz
yuzu-75e81885b0bd38ece84a94b2d323b05d788f8741.tar.zst
yuzu-75e81885b0bd38ece84a94b2d323b05d788f8741.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/hid/controllers/npad.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.cpp b/src/core/hle/service/hid/controllers/npad.cpp
index 5713f1288..3afda9e3f 100644
--- a/src/core/hle/service/hid/controllers/npad.cpp
+++ b/src/core/hle/service/hid/controllers/npad.cpp
@@ -428,6 +428,9 @@ void Controller_NPad::RequestPadStateUpdate(Core::HID::NpadIdType npad_id) {
return;
}
+ // This function is unique to yuzu for the turbo buttons to work properly
+ controller.device->TurboButtonUpdate();
+
auto& pad_entry = controller.npad_pad_state;
auto& trigger_entry = controller.npad_trigger_state;
const auto button_state = controller.device->GetNpadButtons();