(iOS) Fix 2

This commit is contained in:
Twinaphex 2015-03-22 00:33:51 +01:00
parent 7c0b42bee3
commit c233418d4a

View File

@ -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];
}