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