summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/hid.cpp
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2023-10-29 20:45:53 +0100
committergerman77 <juangerman-13@hotmail.com>2023-10-29 20:52:12 +0100
commit6e883a26da52b84086340ca5b5d38f55ef04bf8d (patch)
tree0c804e775e8a7313bf3e55d4cbfa5c6142a73851 /src/core/hle/service/hid/hid.cpp
parentMerge pull request #11880 from abouvier/unbundle-stb (diff)
downloadyuzu-6e883a26da52b84086340ca5b5d38f55ef04bf8d.tar
yuzu-6e883a26da52b84086340ca5b5d38f55ef04bf8d.tar.gz
yuzu-6e883a26da52b84086340ca5b5d38f55ef04bf8d.tar.bz2
yuzu-6e883a26da52b84086340ca5b5d38f55ef04bf8d.tar.lz
yuzu-6e883a26da52b84086340ca5b5d38f55ef04bf8d.tar.xz
yuzu-6e883a26da52b84086340ca5b5d38f55ef04bf8d.tar.zst
yuzu-6e883a26da52b84086340ca5b5d38f55ef04bf8d.zip
Diffstat (limited to 'src/core/hle/service/hid/hid.cpp')
-rw-r--r--src/core/hle/service/hid/hid.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp
index 4d70006c1..929dd5f03 100644
--- a/src/core/hle/service/hid/hid.cpp
+++ b/src/core/hle/service/hid/hid.cpp
@@ -2757,6 +2757,10 @@ public:
joy_detach_event = service_context.CreateEvent("HidSys::JoyDetachEvent");
}
+ ~HidSys() {
+ service_context.CloseEvent(joy_detach_event);
+ };
+
private:
void ApplyNpadSystemCommonPolicy(HLERequestContext& ctx) {
LOG_WARNING(Service_HID, "called");