1
0
mirror of https://github.com/libretro/RetroArch synced 2025-04-02 16:20:39 +00:00

(GX) Fix FRONTEND_FORK_CORE_WITH_ARGS

This commit is contained in:
twinaphex 2016-02-06 18:06:49 +01:00
parent f29c61bacc
commit 24354f477e

@ -353,16 +353,14 @@ static void frontend_gx_exitspawn(char *s, size_t len)
runloop_ctl(RUNLOOP_CTL_SET_CONTENT_PATH, new_path); runloop_ctl(RUNLOOP_CTL_SET_CONTENT_PATH, new_path);
} }
} }
if (gx_fork_mode == FRONTEND_FORK_RESTART)
rarch_ctl(RARCH_CTL_FORCE_QUIT, NULL);
break; break;
case FRONTEND_FORK_NONE: case FRONTEND_FORK_NONE:
default: default:
break; break;
} }
#ifndef IS_SALAMANDER
rarch_ctl(RARCH_CTL_FORCE_QUIT, NULL);
#endif
frontend_gx_exec(s, should_load_game); frontend_gx_exec(s, should_load_game);
frontend_driver_get_salamander_basename(salamander_basename, frontend_driver_get_salamander_basename(salamander_basename,
sizeof(salamander_basename)); sizeof(salamander_basename));
@ -403,7 +401,7 @@ static bool frontend_gx_set_fork(enum frontend_fork fork_mode)
case FRONTEND_FORK_CORE: case FRONTEND_FORK_CORE:
RARCH_LOG("FRONTEND_FORK_CORE\n"); RARCH_LOG("FRONTEND_FORK_CORE\n");
/* NOTE: We implement Salamander, so just turn /* NOTE: We implement Salamander, so just turn
* this into FRONTEND_FORK_RESTART. */ - * this into FRONTEND_FORK_RESTART. */
gx_fork_mode = FRONTEND_FORK_RESTART; gx_fork_mode = FRONTEND_FORK_RESTART;
break; break;
case FRONTEND_FORK_CORE_WITH_ARGS: case FRONTEND_FORK_CORE_WITH_ARGS: