mirror of
https://github.com/libretro/RetroArch
synced 2025-02-10 21:40:22 +00:00
(RARCH_CONSOLE) Put exitspawn conditional into frontend_console.c
This commit is contained in:
parent
9a49430048
commit
2fa133de5c
@ -333,7 +333,8 @@ begin_shutdown:
|
||||
#endif
|
||||
|
||||
system_deinit();
|
||||
system_exitspawn();
|
||||
if (g_extern.lifecycle_menu_state & (1 << MODE_EXITSPAWN))
|
||||
system_exitspawn();
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
@ -339,8 +339,7 @@ static void system_exitspawn(void)
|
||||
#ifdef IS_SALAMANDER
|
||||
rarch_console_exec(default_paths.libretro_path);
|
||||
#else
|
||||
if (g_extern.lifecycle_menu_state & (1 << MODE_EXITSPAWN))
|
||||
rarch_console_exec(g_settings.libretro);
|
||||
rarch_console_exec(g_settings.libretro);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -464,8 +464,7 @@ static void system_exitspawn(void)
|
||||
cellSysmoduleLoadModule(CELL_SYSMODULE_FS);
|
||||
cellSysmoduleLoadModule(CELL_SYSMODULE_IO);
|
||||
#else
|
||||
if (g_extern.lifecycle_menu_state & (1 << MODE_EXITSPAWN))
|
||||
rarch_console_exec(g_extern.fullpath);
|
||||
rarch_console_exec(g_extern.fullpath);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -391,7 +391,6 @@ static void system_exitspawn(void)
|
||||
#ifdef IS_SALAMANDER
|
||||
rarch_console_exec(default_paths.libretro_path);
|
||||
#else
|
||||
if(g_extern.lifecycle_menu_state & (1 << MODE_EXITSPAWN))
|
||||
rarch_console_exec(g_extern.fullpath);
|
||||
rarch_console_exec(g_extern.fullpath);
|
||||
#endif
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user