mirror of
https://github.com/libretro/RetroArch
synced 2025-02-20 15:40:44 +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)
|
||||
return false;
|
||||
|
||||
if (menu_driver_ctx->toggle)
|
||||
if (menu_driver_ctx && menu_driver_ctx->toggle)
|
||||
menu_driver_ctx->toggle(menu_userdata, *latch);
|
||||
}
|
||||
break;
|
||||
|
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user