summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd/emu_window
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2022-11-26 16:28:04 +0100
committergerman77 <juangerman-13@hotmail.com>2022-11-27 17:53:22 +0100
commita67e776af9bbd7d297aa203922eeabb9c0829172 (patch)
tree222cea7b63dd2afd28b8924414d107a1206d9b42 /src/yuzu_cmd/emu_window
parentMerge pull request #9276 from goldenx86/fsrSlider (diff)
downloadyuzu-a67e776af9bbd7d297aa203922eeabb9c0829172.tar
yuzu-a67e776af9bbd7d297aa203922eeabb9c0829172.tar.gz
yuzu-a67e776af9bbd7d297aa203922eeabb9c0829172.tar.bz2
yuzu-a67e776af9bbd7d297aa203922eeabb9c0829172.tar.lz
yuzu-a67e776af9bbd7d297aa203922eeabb9c0829172.tar.xz
yuzu-a67e776af9bbd7d297aa203922eeabb9c0829172.tar.zst
yuzu-a67e776af9bbd7d297aa203922eeabb9c0829172.zip
Diffstat (limited to 'src/yuzu_cmd/emu_window')
-rw-r--r--src/yuzu_cmd/emu_window/emu_window_sdl2.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp b/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp
index 4ac72c2f6..37dd1747c 100644
--- a/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp
+++ b/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp
@@ -7,6 +7,7 @@
#include "common/scm_rev.h"
#include "common/settings.h"
#include "core/core.h"
+#include "core/hid/hid_core.h"
#include "core/perf_stats.h"
#include "input_common/drivers/keyboard.h"
#include "input_common/drivers/mouse.h"
@@ -26,6 +27,7 @@ EmuWindow_SDL2::EmuWindow_SDL2(InputCommon::InputSubsystem* input_subsystem_, Co
}
EmuWindow_SDL2::~EmuWindow_SDL2() {
+ system.HIDCore().UnloadInputDevices();
input_subsystem->Shutdown();
SDL_Quit();
}