From c233418d4a48d0d34796bfdf155d4c1c78ba77a8 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Sun, 22 Mar 2015 00:33:51 +0100 Subject: [PATCH] (iOS) Fix 2 --- apple/iOS/platform.m | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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]; }