mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 06:20:26 +02:00
Remove remaining input_state mutexing.
This commit is contained in:
1 parent
14b1dac826
commit
e1bc26e67a
2 files changed
+1
-6
No files matched your search
@@ -43,7 +43,6 @@ inline static void ExecuteInputPoll() {
|
||||
// Hm, we may hold the input_state lock for quite a while (time it takes to poll all devices)...
|
||||
// If that becomes an issue, maybe should poll to a copy of inputstate and only hold the lock while
|
||||
// copying that one to the real one?
|
||||
std::lock_guard<std::mutex> guard(input_state.lock);
|
||||
if (host && (focused || !g_Config.bGamepadOnlyFocused)) {
|
||||
host->PollControllers(input_state);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user