1
0
mirror of https://github.com/libretro/RetroArch synced 2025-03-03 13:14:04 +00:00

Refactor frontend_driver_set_fork

This commit is contained in:
twinaphex 2016-02-04 11:44:10 +01:00
parent 8574315f52
commit ea28f992ac
2 changed files with 2 additions and 3 deletions

@ -922,8 +922,7 @@ bool event_cmd_exec(void *data)
#if defined(HAVE_DYNAMIC)
rarch_ctl(RARCH_CTL_LOAD_CONTENT, NULL);
#else
if (frontend_driver_has_fork())
frontend_driver_set_fork(true, true, false);
frontend_driver_set_fork(true, true, false);
#endif
return true;

@ -215,7 +215,7 @@ void frontend_driver_set_fork(bool a, bool b, bool restart)
{
frontend_ctx_driver_t *frontend = frontend_get_ptr();
if (!frontend || !frontend->set_fork)
if (!frontend_driver_has_fork())
return;
frontend->set_fork(a, b, restart);
}