mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 23:42:30 +00:00
(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)
|
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;
|
||||||
|
@ -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];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user