summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2023-01-06 02:16:55 +0100
committerNarr the Reg <juangerman-13@hotmail.com>2023-01-06 02:24:29 +0100
commit8042ce7e1999e7953db804f852799cb33d08f91c (patch)
tree96ab15b1de43b16cae51d873332c67e301b4afcc /src/core
parentMerge pull request #9518 from gidoly/revert-9504-pg2 (diff)
downloadyuzu-8042ce7e1999e7953db804f852799cb33d08f91c.tar
yuzu-8042ce7e1999e7953db804f852799cb33d08f91c.tar.gz
yuzu-8042ce7e1999e7953db804f852799cb33d08f91c.tar.bz2
yuzu-8042ce7e1999e7953db804f852799cb33d08f91c.tar.lz
yuzu-8042ce7e1999e7953db804f852799cb33d08f91c.tar.xz
yuzu-8042ce7e1999e7953db804f852799cb33d08f91c.tar.zst
yuzu-8042ce7e1999e7953db804f852799cb33d08f91c.zip
Diffstat (limited to '')
-rw-r--r--src/core/hid/emulated_controller.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/core/hid/emulated_controller.cpp b/src/core/hid/emulated_controller.cpp
index 71364c323..7a01f3f4c 100644
--- a/src/core/hid/emulated_controller.cpp
+++ b/src/core/hid/emulated_controller.cpp
@@ -1434,16 +1434,6 @@ AnalogSticks EmulatedController::GetSticks() const {
return {};
}
- // Some drivers like stick from buttons need constant refreshing
- for (auto& device : stick_devices) {
- if (!device) {
- continue;
- }
- lock.unlock();
- device->SoftUpdate();
- lock.lock();
- }
-
return controller.analog_stick_state;
}