(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,7 +333,8 @@ begin_shutdown:
#endif
system_deinit();
system_exitspawn();
if (g_extern.lifecycle_menu_state & (1 << MODE_EXITSPAWN))
system_exitspawn();
return 1;
}

View File

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

View File

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

View File

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