summaryrefslogtreecommitdiffstats
path: root/src/core/hid/emulated_controller.h
diff options
context:
space:
mode:
authorKelebek1 <eeeedddccc@hotmail.co.uk>2023-09-19 23:06:49 +0200
committerKelebek1 <eeeedddccc@hotmail.co.uk>2023-09-20 00:10:03 +0200
commit8992a62da4d48b440500d2017594667108633171 (patch)
tree49b57c2ea7e9e7aebde534e844d3aa779f20c862 /src/core/hid/emulated_controller.h
parentMerge pull request #11542 from t895/touch-offset-fix (diff)
downloadyuzu-8992a62da4d48b440500d2017594667108633171.tar
yuzu-8992a62da4d48b440500d2017594667108633171.tar.gz
yuzu-8992a62da4d48b440500d2017594667108633171.tar.bz2
yuzu-8992a62da4d48b440500d2017594667108633171.tar.lz
yuzu-8992a62da4d48b440500d2017594667108633171.tar.xz
yuzu-8992a62da4d48b440500d2017594667108633171.tar.zst
yuzu-8992a62da4d48b440500d2017594667108633171.zip
Diffstat (limited to 'src/core/hid/emulated_controller.h')
-rw-r--r--src/core/hid/emulated_controller.h2
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;