diff options
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/ControllerInterface.h')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/ControllerInterface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h index b485cda31a..06fd7c544d 100644 --- a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h +++ b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h @@ -4,6 +4,7 @@ #pragma once +#include <atomic> #include <functional> #include <memory> #include <mutex> @@ -57,6 +58,7 @@ private: std::vector<std::function<void()>> m_devices_changed_callbacks; mutable std::mutex m_callbacks_mutex; bool m_is_init; + std::atomic<bool> m_is_populating_devices{false}; void* m_hwnd; }; |
