(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) if (!latch)
return false; return false;
if (menu_driver_ctx->toggle) if (menu_driver_ctx && menu_driver_ctx->toggle)
menu_driver_ctx->toggle(menu_userdata, *latch); menu_driver_ctx->toggle(menu_userdata, *latch);
} }
break; break;

View File

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