mirror of
https://github.com/libretro/RetroArch
synced 2025-02-02 23:54:06 +00:00
Merge pull request #163 from CatalystG/master
(BlackBerry) Get input overlay to show when booting to RGUI
This commit is contained in:
commit
53d49907ed
9
driver.c
9
driver.c
@ -285,6 +285,15 @@ void global_init_drivers(void)
|
|||||||
driver.video->start(); // Statically starts video driver. Sets driver.video_data.
|
driver.video->start(); // Statically starts video driver. Sets driver.video_data.
|
||||||
#endif
|
#endif
|
||||||
driver.input_data = driver.input->init();
|
driver.input_data = driver.input->init();
|
||||||
|
|
||||||
|
#ifdef HAVE_OVERLAY
|
||||||
|
if (*g_settings.input.overlay)
|
||||||
|
{
|
||||||
|
driver.overlay = input_overlay_new(g_settings.input.overlay);
|
||||||
|
if (!driver.overlay)
|
||||||
|
RARCH_ERR("Failed to load overlay.\n");
|
||||||
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void global_uninit_drivers(void)
|
void global_uninit_drivers(void)
|
||||||
|
@ -28,6 +28,9 @@ int rarch_main(int argc, char *argv[])
|
|||||||
|
|
||||||
rarch_main_clear_state();
|
rarch_main_clear_state();
|
||||||
|
|
||||||
|
strcpy(g_extern.config_path,"app/native/retroarch.cfg");
|
||||||
|
strcpy(g_settings.libretro,"app/native/lib");
|
||||||
|
|
||||||
config_load();
|
config_load();
|
||||||
global_init_drivers();
|
global_init_drivers();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user