(BlackBerry) Fix BB10 this time. Previous change didn't work on both.

This commit is contained in:
CatalystG 2013-04-10 21:25:38 -04:00
parent fdcc6e2087
commit a54c377e6f
2 changed files with 4 additions and 3 deletions

View File

@ -320,7 +320,7 @@ void global_uninit_drivers(void)
{
if (driver.video_data)
{
#if defined(RARCH_CONSOLE) || defined(__BLACKBERRY_QNX__)
#ifdef RARCH_CONSOLE
driver.video->stop();
#endif
driver.video_data = NULL;

View File

@ -34,7 +34,8 @@ int rarch_main(int argc, char *argv[])
strlcpy(g_settings.libretro, "app/native/lib", sizeof(g_settings.libretro));
config_load();
global_init_drivers();
init_drivers_pre();
init_drivers();
g_extern.verbose = true;
@ -55,7 +56,7 @@ int rarch_main(int argc, char *argv[])
if (g_extern.main_is_init)
rarch_main_deinit();
else
global_uninit_drivers();
uninit_drivers();
struct rarch_main_wrap args = {0};