mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
Merge pull request #2199 from skidau/remove-controls-lock
Cleaned up the controller locking mechanism
This commit is contained in:
commit
a86f2fe2e7
8 changed files with 0 additions and 41 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue