mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-05 10:13:15 +00:00
input: Add missing poll lock (#2044)
This commit is contained in:
parent
f42b8acf47
commit
f2f24bb2cd
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue