mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(GX) Dehardcode some code here
This commit is contained in:
parent
4a3263986b
commit
d1957789bc
@ -332,19 +332,22 @@ static void frontend_gx_exitspawn(char *s, size_t len)
|
||||
if (!string_is_empty(gx_rom_path))
|
||||
should_load_game = true;
|
||||
#elif defined(HW_RVL)
|
||||
char salamander_basename[PATH_MAX_LENGTH];
|
||||
should_load_game = exitspawn_start_game;
|
||||
|
||||
if (!exit_spawn)
|
||||
return;
|
||||
|
||||
frontend_gx_exec(s, should_load_game);
|
||||
frontend_driver_get_salamander_basename(salamander_basename,
|
||||
sizeof(salamander_basename));
|
||||
|
||||
/* FIXME/TODO - hack
|
||||
* direct loading failed (out of memory),
|
||||
* try to jump to Salamander,
|
||||
* then load the correct core */
|
||||
fill_pathname_join(s, g_defaults.dir.core,
|
||||
"boot.dol", len);
|
||||
salamander_basename, len);
|
||||
#endif
|
||||
frontend_gx_exec(s, should_load_game);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user