diff options
author | bunnei <bunneidev@gmail.com> | 2023-01-07 13:41:27 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-07 13:41:27 -0800 |
commit | 66e4a48b75d7f60cab1349ce896be696b761fb39 (patch) | |
tree | bba44049730b407d379d4aab995c12515b46fc7b /src/core | |
parent | 926438b68d33b84f6c2222ffd4e3260648c64ff5 (diff) | |
parent | 8042ce7e1999e7953db804f852799cb33d08f91c (diff) |
Merge pull request #9563 from german77/crash_not_allowed
input_common: Create an update engine
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hid/emulated_controller.cpp | 10 |
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; } |