(iOS) Not sure why we are calling rarch_main() twice for iOS

This commit is contained in:
Twinaphex 2016-05-10 23:33:51 +02:00
parent 8420480981
commit 19afc807ef
2 changed files with 1 additions and 4 deletions

View File

@ -761,7 +761,7 @@ bool menu_driver_ctl(enum rarch_menu_ctl_state state, void *data)
if (!latch)
return false;
if (menu_driver_ctx->toggle)
if (menu_driver_ctx && menu_driver_ctx->toggle)
menu_driver_ctx->toggle(menu_userdata, *latch);
}
break;

View File

@ -337,9 +337,6 @@ enum
apple_platform = self;
[self setDelegate:self];
if (rarch_main(argc, argv, NULL))
apple_rarch_exited();
#ifdef HAVE_AVFOUNDATION
/* Other background audio check */