(RARCH_CONSOLE) Put exitspawn conditional into frontend_console.c

This commit is contained in:
twinaphex 2013-01-11 20:13:02 +01:00
parent 9a49430048
commit 2fa133de5c
4 changed files with 5 additions and 7 deletions

View File

@ -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;

View File

@ -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
} }

View File

@ -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

View File

@ -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
} }