mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(XDK/GX) Cleanups to exitspawn implementations
This commit is contained in:
parent
48961b246e
commit
ce412a7c8b
@ -291,7 +291,9 @@ static void frontend_gx_exitspawn(char *core_path, size_t sizeof_core_path)
|
||||
if (g_extern.lifecycle_state & (1ULL << MODE_EXITSPAWN_START_GAME))
|
||||
should_load_game = true;
|
||||
|
||||
frontend_gx_exec(g_settings.libretro, should_load_game);
|
||||
frontend_gx_exec(core_path, should_load_game);
|
||||
|
||||
// FIXME/TODO - hack
|
||||
// direct loading failed (out of memory), try to jump to salamander then load the correct core
|
||||
fill_pathname_join(core_path, default_paths.core_dir, "boot.dol", sizeof_core_path);
|
||||
#endif
|
||||
|
@ -244,15 +244,12 @@ static void frontend_xdk_exec(const char *path, bool should_load_game);
|
||||
|
||||
static void frontend_xdk_exitspawn(char *core_path, size_t sizeof_core_path)
|
||||
{
|
||||
#ifdef IS_SALAMANDER
|
||||
frontend_xdk_exec(core_path, false);
|
||||
#else
|
||||
bool should_load_game = false;
|
||||
#ifndef IS_SALAMANDER
|
||||
if (g_extern.lifecycle_state & (1ULL << MODE_EXITSPAWN_START_GAME))
|
||||
should_load_game = true;
|
||||
|
||||
frontend_xdk_exec(g_settings.libretro, should_load_game);
|
||||
#endif
|
||||
frontend_xdk_exec(core_path, should_load_game);
|
||||
}
|
||||
|
||||
#include <stdio.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user