summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2022-11-27 15:39:24 -0500
committerGitHub <noreply@github.com>2022-11-27 15:39:24 -0500
commita2fde04da9630a5bf4948a0d2798d969956eb389 (patch)
tree9aa1133d4b1635e0ccb111c2a73c01c1d044a148 /src/core
parent71f2b4ba8f7ece9445f0759299b00beed87fe9c6 (diff)
parenta67e776af9bbd7d297aa203922eeabb9c0829172 (diff)
Merge pull request #9317 from german77/input-crash
yuzu-cmd: Fix input callback crash on close
Diffstat (limited to 'src/core')
-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() {