summaryrefslogtreecommitdiff
path: root/src/core/hid
diff options
context:
space:
mode:
authorGravatar german772022-11-26 09:28:04 -0600
committerGravatar german772022-11-27 10:53:22 -0600
commita67e776af9bbd7d297aa203922eeabb9c0829172 (patch)
tree222cea7b63dd2afd28b8924414d107a1206d9b42 /src/core/hid
parentMerge pull request #9276 from goldenx86/fsrSlider (diff)
downloadyuzu-a67e776af9bbd7d297aa203922eeabb9c0829172.tar.gz
yuzu-a67e776af9bbd7d297aa203922eeabb9c0829172.tar.xz
yuzu-a67e776af9bbd7d297aa203922eeabb9c0829172.zip
yuzu-cmd: Fix input callback crash on close
Diffstat (limited to 'src/core/hid')
-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() {
145 for (auto& button : keyboard_modifier_devices) { 145 for (auto& button : keyboard_modifier_devices) {
146 button.reset(); 146 button.reset();
147 } 147 }
148 ring_analog_device.reset();
148} 149}
149 150
150void EmulatedDevices::EnableConfiguration() { 151void EmulatedDevices::EnableConfiguration() {