mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Merge pull request #2199 from skidau/remove-controls-lock
Cleaned up the controller locking mechanism
This commit is contained in:
@ -134,8 +134,6 @@ void ControllerInterface::Shutdown()
|
||||
//
|
||||
void ControllerInterface::UpdateInput()
|
||||
{
|
||||
std::unique_lock<std::recursive_mutex> lk(update_lock, std::defer_lock);
|
||||
|
||||
for (ciface::Core::Device* d : m_devices)
|
||||
d->UpdateInput();
|
||||
}
|
||||
|
@ -122,8 +122,6 @@ public:
|
||||
void UpdateReference(ControlReference* control, const ciface::Core::DeviceQualifier& default_device) const;
|
||||
void UpdateInput();
|
||||
|
||||
std::recursive_mutex update_lock;
|
||||
|
||||
private:
|
||||
bool m_is_init;
|
||||
void* m_hwnd;
|
||||
|
Reference in New Issue
Block a user