mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 05:08:57 +00:00
InputCommon/ControllerInterface: Make devices mutex recursive so RemoveDevice can be used within UpdateInput.
This commit is contained in:
parent
5af2081c75
commit
4176cc77e1
3 changed files with 11 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue