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 | dfbfc1b89b1e37258e0ef990d5155d948c68b8ac (patch) | |
| tree | bba44049730b407d379d4aab995c12515b46fc7b /src/core/hid/emulated_controller.cpp | |
| parent | 002e1e9e68746def630e28c41b1576f35565a4d0 (diff) | |
| parent | 243f2931b527faf4fa6eea5ba25ab74b797dc967 (diff) | |
Merge pull request #9563 from german77/crash_not_allowed
input_common: Create an update engine
Diffstat (limited to 'src/core/hid/emulated_controller.cpp')
| -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 71364c323b..7a01f3f4c8 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; } |
