From 8992a62da4d48b440500d2017594667108633171 Mon Sep 17 00:00:00 2001 From: Kelebek1 Date: Tue, 19 Sep 2023 22:06:49 +0100 Subject: Reduce core timing mutex contention --- src/core/hid/emulated_controller.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/hid/emulated_controller.h') 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 callback_list; int last_callback_key = 0; -- cgit v1.2.3