mirror of
https://github.com/libretro/RetroArch
synced 2025-04-02 16:20:39 +00:00
Add frontend_driver_has_fork
This commit is contained in:
parent
2cbb18b4e4
commit
fbf6b01209
@ -131,6 +131,15 @@ void frontend_driver_content_loaded(void)
|
|||||||
frontend->content_loaded();
|
frontend->content_loaded();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool frontend_driver_has_fork(void)
|
||||||
|
{
|
||||||
|
frontend_ctx_driver_t *frontend = frontend_get_ptr();
|
||||||
|
|
||||||
|
if (!frontend || !frontend->set_fork)
|
||||||
|
return false;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
void frontend_driver_set_fork(bool a, bool b, bool restart)
|
void frontend_driver_set_fork(bool a, bool b, bool restart)
|
||||||
{
|
{
|
||||||
frontend_ctx_driver_t *frontend = frontend_get_ptr();
|
frontend_ctx_driver_t *frontend = frontend_get_ptr();
|
||||||
|
@ -137,6 +137,9 @@ void frontend_driver_shutdown(bool a);
|
|||||||
void frontend_driver_deinit(void *args);
|
void frontend_driver_deinit(void *args);
|
||||||
|
|
||||||
void frontend_driver_exitspawn(char *s, size_t len);
|
void frontend_driver_exitspawn(char *s, size_t len);
|
||||||
|
|
||||||
|
bool frontend_driver_has_fork(void);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user