aboutsummaryrefslogtreecommitdiff
path: root/src/core/hid/emulated_devices.cpp
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2022-11-26 09:28:04 -0600
committergerman77 <juangerman-13@hotmail.com>2022-11-27 10:53:22 -0600
commita67e776af9bbd7d297aa203922eeabb9c0829172 (patch)
tree222cea7b63dd2afd28b8924414d107a1206d9b42 /src/core/hid/emulated_devices.cpp
parent3ab8d9ac7c1fac58de314265f8936336d1f7d829 (diff)
yuzu-cmd: Fix input callback crash on close
Diffstat (limited to 'src/core/hid/emulated_devices.cpp')
-rw-r--r--src/core/hid/emulated_devices.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hid/emulated_devices.cpp b/src/core/hid/emulated_devices.cpp
index 8d367b546..658dbd318 100644
--- a/src/core/hid/emulated_devices.cpp
+++ b/src/core/hid/emulated_devices.cpp
@@ -145,6 +145,7 @@ void EmulatedDevices::UnloadInput() {
for (auto& button : keyboard_modifier_devices) {
button.reset();
}
+ ring_analog_device.reset();
}
void EmulatedDevices::EnableConfiguration() {