(iOS) Not sure why we are calling rarch_main() twice for iOS
This commit is contained in:
parent
8420480981
commit
19afc807ef
|
@ -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;
|
||||
|
|
|
@ -338,9 +338,6 @@ enum
|
|||
|
||||
[self setDelegate:self];
|
||||
|
||||
if (rarch_main(argc, argv, NULL))
|
||||
apple_rarch_exited();
|
||||
|
||||
#ifdef HAVE_AVFOUNDATION
|
||||
/* Other background audio check */
|
||||
[self supportOtherAudioSessions];
|
||||
|
|
Loading…
Reference in New Issue