mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
InputCommon/ControllerInterface: Make devices mutex recursive so RemoveDevice can be used within UpdateInput.
This commit is contained in:
@@ -198,7 +198,7 @@ public:
|
||||
DetectInput(u32 wait_ms, const std::vector<std::string>& device_strings) const;
|
||||
|
||||
protected:
|
||||
mutable std::mutex m_devices_mutex;
|
||||
mutable std::recursive_mutex m_devices_mutex;
|
||||
std::vector<std::shared_ptr<Device>> m_devices;
|
||||
};
|
||||
} // namespace Core
|
||||
|
||||
Reference in New Issue
Block a user