summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/controllers/palma.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/controllers/palma.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/controllers/palma.cpp')
-rw-r--r--src/core/hle/service/hid/controllers/palma.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/controllers/palma.cpp b/src/core/hle/service/hid/controllers/palma.cpp
index 14c67e454..73a2a2b91 100644
--- a/src/core/hle/service/hid/controllers/palma.cpp
+++ b/src/core/hle/service/hid/controllers/palma.cpp
@@ -19,7 +19,9 @@ Controller_Palma::Controller_Palma(Core::HID::HIDCore& hid_core_, u8* raw_shared
operation_complete_event = service_context.CreateEvent("hid:PalmaOperationCompleteEvent");
}
-Controller_Palma::~Controller_Palma() = default;
+Controller_Palma::~Controller_Palma() {
+ service_context.CloseEvent(operation_complete_event);
+};
void Controller_Palma::OnInit() {}