mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-09 03:10:22 +00:00
LIBRETRO: fix close content from quick menu
This commit is contained in:
parent
1800abaaa7
commit
9a861391c8
@ -777,7 +777,6 @@ void retro_run(void) {
|
||||
retro_switch_to_emu_thread();
|
||||
|
||||
if (retro_emu_thread_exited()) {
|
||||
retro_deinit_emu_thread();
|
||||
if (!restart_pending) {
|
||||
environ_cb(RETRO_ENVIRONMENT_SHUTDOWN, NULL);
|
||||
log_scummvm_exit_code();
|
||||
@ -827,11 +826,14 @@ void retro_run(void) {
|
||||
|
||||
void retro_unload_game(void) {
|
||||
retroQuit();
|
||||
while (!retro_emu_thread_exited())
|
||||
retro_switch_to_emu_thread();
|
||||
retro_deinit_emu_thread();
|
||||
}
|
||||
|
||||
void retro_reset(void) {
|
||||
restart_pending = true;
|
||||
retroQuit();
|
||||
retro_unload_game();
|
||||
}
|
||||
|
||||
// Stubs
|
||||
|
Loading…
Reference in New Issue
Block a user