mirror of
https://github.com/libretro/RetroArch
synced 2025-03-12 13:13:30 +00:00
(BlackBerry) Fix BB10 this time. Previous change didn't work on both.
This commit is contained in:
parent
fdcc6e2087
commit
a54c377e6f
2
driver.c
2
driver.c
@ -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;
|
||||
|
@ -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};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user