1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-08-29 23:46:31 -05:00

Merge pull request #9563 from german77/crash_not_allowed

input_common: Create an update engine
This commit is contained in:
bunnei
2023-01-07 13:41:27 -08:00
committed by GitHub
4 changed files with 37 additions and 19 deletions

View File

@@ -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;
}