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
commit23d7d8b9df4e86b550bc5099914e0bfd292f951d (patch)
tree222cea7b63dd2afd28b8924414d107a1206d9b42 /src/core/hid/emulated_devices.cpp
parent0e8043fc245c59380fe3da0ff8fa00a890c0c0c5 (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 8d367b5469..658dbd3182 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() {