[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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user