mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
(PSP) Cleanup frontend_psp_exitspawn
This commit is contained in:
parent
faea453a0b
commit
48961b246e
@ -193,18 +193,13 @@ static void frontend_psp_exec(const char *path, bool should_load_game)
|
|||||||
|
|
||||||
static void frontend_psp_exitspawn(char *core_path, size_t sizeof_core_path)
|
static void frontend_psp_exitspawn(char *core_path, size_t sizeof_core_path)
|
||||||
{
|
{
|
||||||
#ifdef IS_SALAMANDER
|
|
||||||
frontend_psp_exec(core_path, false);
|
|
||||||
#else
|
|
||||||
char core_launch[256];
|
|
||||||
|
|
||||||
strlcpy(core_launch, g_settings.libretro, sizeof(core_launch));
|
|
||||||
bool should_load_game = false;
|
bool should_load_game = false;
|
||||||
|
#ifndef IS_SALAMANDER
|
||||||
if (g_extern.lifecycle_state & (1ULL << MODE_EXITSPAWN_START_GAME))
|
if (g_extern.lifecycle_state & (1ULL << MODE_EXITSPAWN_START_GAME))
|
||||||
should_load_game = true;
|
should_load_game = true;
|
||||||
|
|
||||||
frontend_psp_exec(core_launch, should_load_game);
|
|
||||||
#endif
|
#endif
|
||||||
|
frontend_psp_exec(core_path, should_load_game);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int frontend_psp_get_rating(void)
|
static int frontend_psp_get_rating(void)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user