mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-03 15:21:40 +00:00
LIBRETRO: move retroQuit in close_emu_thread loop
This commit is contained in:
parent
bf7938991d
commit
20ce78d889
@ -371,9 +371,10 @@ static void exit_to_frontend(void) {
|
||||
}
|
||||
|
||||
static void close_emu_thread(void) {
|
||||
retroQuit();
|
||||
while (!retro_emu_thread_exited())
|
||||
while (!retro_emu_thread_exited()) {
|
||||
retroQuit();
|
||||
retro_switch_to_emu_thread();
|
||||
}
|
||||
retro_deinit_emu_thread();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user