diff options
| author | 2023-09-19 22:06:49 +0100 | |
|---|---|---|
| committer | 2023-09-19 23:10:03 +0100 | |
| commit | 8992a62da4d48b440500d2017594667108633171 (patch) | |
| tree | 49b57c2ea7e9e7aebde534e844d3aa779f20c862 /src/core/hid/emulated_controller.h | |
| parent | Merge pull request #11542 from t895/touch-offset-fix (diff) | |
| download | yuzu-8992a62da4d48b440500d2017594667108633171.tar.gz yuzu-8992a62da4d48b440500d2017594667108633171.tar.xz yuzu-8992a62da4d48b440500d2017594667108633171.zip | |
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: | |||
| 603 | 603 | ||
| 604 | mutable std::mutex mutex; | 604 | mutable std::mutex mutex; |
| 605 | mutable std::mutex callback_mutex; | 605 | mutable std::mutex callback_mutex; |
| 606 | mutable std::mutex npad_mutex; | ||
| 607 | mutable std::mutex connect_mutex; | ||
| 606 | std::unordered_map<int, ControllerUpdateCallback> callback_list; | 608 | std::unordered_map<int, ControllerUpdateCallback> callback_list; |
| 607 | int last_callback_key = 0; | 609 | int last_callback_key = 0; |
| 608 | 610 | ||