diff options
| author | 2022-11-26 09:28:04 -0600 | |
|---|---|---|
| committer | 2022-11-27 10:53:22 -0600 | |
| commit | a67e776af9bbd7d297aa203922eeabb9c0829172 (patch) | |
| tree | 222cea7b63dd2afd28b8924414d107a1206d9b42 /src/core/hid | |
| parent | Merge pull request #9276 from goldenx86/fsrSlider (diff) | |
| download | yuzu-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.cpp | 1 |
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 | ||
| 150 | void EmulatedDevices::EnableConfiguration() { | 151 | void EmulatedDevices::EnableConfiguration() { |