mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Refactor frontend_driver_set_fork
This commit is contained in:
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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue