diff --git a/apple/iOS/platform.m b/apple/iOS/platform.m index b1c32900f1..8d04edd9bc 100644 --- a/apple/iOS/platform.m +++ b/apple/iOS/platform.m @@ -258,6 +258,9 @@ void notify_content_loaded(void) apple_platform = self; [self setDelegate:self]; + + if (rarch_main(0, NULL)) + apple_rarch_exited(); // Setup window self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; @@ -268,9 +271,6 @@ void notify_content_loaded(void) [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 )