Merge PR 12142

This commit is contained in:
yuzubot
2023-11-24 00:57:08 +00:00
parent 24b2842914
commit 8d65fb6c74

View File

@ -316,8 +316,10 @@ void EmulationSession::ShutdownEmulation() {
m_is_running = false;
// Unload user input.
m_system.HIDCore().UnloadInputDevices();
SCOPE_EXIT({
// Unload user input.
m_system.HIDCore().UnloadInputDevices();
});
// Shutdown the main emulated process
if (m_load_result == Core::SystemResultStatus::Success) {