Merge pull request #163 from CatalystG/master

(BlackBerry) Get input overlay to show when booting to RGUI
This commit is contained in:
Squarepusher 2013-03-24 18:04:22 -07:00
commit 53d49907ed
2 changed files with 12 additions and 0 deletions

View File

@ -285,6 +285,15 @@ void global_init_drivers(void)
driver.video->start(); // Statically starts video driver. Sets driver.video_data.
#endif
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)

View File

@ -28,6 +28,9 @@ int rarch_main(int argc, char *argv[])
rarch_main_clear_state();
strcpy(g_extern.config_path,"app/native/retroarch.cfg");
strcpy(g_settings.libretro,"app/native/lib");
config_load();
global_init_drivers();