diff options
| author | Fernando S <fsahmkow27@gmail.com> | 2023-09-29 13:36:57 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-29 13:36:57 +0200 |
| commit | d6b3e7f195dcf9a154f4e1ff84c6a1b46ad5bdfc (patch) | |
| tree | 936eb95eb694f525ba7daaabc89404fc4a5ea557 /src/core/hid/emulated_controller.h | |
| parent | 926e24c642ab0d44661339b191934a59da736db2 (diff) | |
| parent | 8992a62da4d48b440500d2017594667108633171 (diff) | |
Merge pull request #11546 from Kelebek1/core_timing_mutex
Reduce core timing mutex contention
Diffstat (limited to 'src/core/hid/emulated_controller.h')
| -rw-r--r-- | src/core/hid/emulated_controller.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hid/emulated_controller.h b/src/core/hid/emulated_controller.h index 88d77db8d..d4500583e 100644 --- a/src/core/hid/emulated_controller.h +++ b/src/core/hid/emulated_controller.h @@ -603,6 +603,8 @@ private: mutable std::mutex mutex; mutable std::mutex callback_mutex; + mutable std::mutex npad_mutex; + mutable std::mutex connect_mutex; std::unordered_map<int, ControllerUpdateCallback> callback_list; int last_callback_key = 0; |
