mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-09-07 03:23:21 +00:00
Merge PR 12142
This commit is contained in:
parent
24b2842914
commit
8d65fb6c74
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue