From 7c0b42bee343609230110a7c21fa3ecfe9354963 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Sun, 22 Mar 2015 00:31:42 +0100 Subject: [PATCH] (iOS) Fix --- apple/iOS/platform.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 )