mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-23 18:45:36 +00:00
input: Add missing poll lock (#2044)
This commit is contained in:
parent
f42b8acf47
commit
f2f24bb2cd
@ -266,6 +266,7 @@ void GameController::TryOpenSDLController() {
|
||||
}
|
||||
|
||||
u32 GameController::Poll() {
|
||||
std::scoped_lock lock{m_mutex};
|
||||
if (m_connected) {
|
||||
auto time = Libraries::Kernel::sceKernelGetProcessTime();
|
||||
if (m_states_num == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user