diff --git a/apple/iOS/platform.m b/apple/iOS/platform.m index 8d04edd9bc..afc45afadb 100644 --- a/apple/iOS/platform.m +++ b/apple/iOS/platform.m @@ -264,13 +264,15 @@ void notify_content_loaded(void) // Setup window self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; - [self showPauseMenu:self]; [self.window makeKeyAndVisible]; [self pushViewController:[RAMainMenu new] animated:YES]; [apple_platform loadingCore:nil withFile:nil]; + if (rarch_main(0, NULL)) + apple_rarch_exited(); + driver = driver_get_ptr(); if ( driver->menu_ctx && driver->menu_ctx == &menu_ctx_ios && driver->menu && driver->menu->userdata ) @@ -281,6 +283,8 @@ void notify_content_loaded(void) } apple_gamecontroller_init(); + + [self showPauseMenu:self]; [self apple_start_iteration]; }