From b8ca1b2907230f2e1285bfdb9c5e3b373d49cf56 Mon Sep 17 00:00:00 2001 From: "Admiral H. Curtiss" Date: Wed, 7 Sep 2022 22:37:14 +0200 Subject: InputCommon: Fix deadlock in EmulatedController::UpdateReferences(). --- Source/Core/InputCommon/ControllerInterface/CoreDevice.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/Core/InputCommon/ControllerInterface') diff --git a/Source/Core/InputCommon/ControllerInterface/CoreDevice.h b/Source/Core/InputCommon/ControllerInterface/CoreDevice.h index 227a1febbe..2280ddac3b 100644 --- a/Source/Core/InputCommon/ControllerInterface/CoreDevice.h +++ b/Source/Core/InputCommon/ControllerInterface/CoreDevice.h @@ -238,6 +238,8 @@ public: std::chrono::milliseconds confirmation_wait, std::chrono::milliseconds maximum_wait) const; + std::recursive_mutex& GetDevicesMutex() const { return m_devices_mutex; } + protected: // Exclusively needed when reading/writing "m_devices" mutable std::recursive_mutex m_devices_mutex; -- cgit v1.2.3