[HID] Removed mutex from SDLInputDriver::SetState
This seems to actively lock inside embedded SDL lock causing deadlock on main emulator thread and calling thread
This commit is contained in:
parent
d11271f44d
commit
cce070c129
|
@ -214,8 +214,6 @@ X_RESULT SDLInputDriver::SetState(uint32_t user_index,
|
|||
|
||||
QueueControllerUpdate();
|
||||
|
||||
std::unique_lock<std::mutex> guard(controllers_mutex_);
|
||||
|
||||
auto controller = GetControllerState(user_index);
|
||||
if (!controller) {
|
||||
return X_ERROR_DEVICE_NOT_CONNECTED;
|
||||
|
|
Loading…
Reference in New Issue