mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
(iOS) Fix 2
This commit is contained in:
parent
7c0b42bee3
commit
c233418d4a
@ -264,13 +264,15 @@ void notify_content_loaded(void)
|
|||||||
|
|
||||||
// Setup window
|
// Setup window
|
||||||
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
|
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
|
||||||
[self showPauseMenu:self];
|
|
||||||
[self.window makeKeyAndVisible];
|
[self.window makeKeyAndVisible];
|
||||||
|
|
||||||
[self pushViewController:[RAMainMenu new] animated:YES];
|
[self pushViewController:[RAMainMenu new] animated:YES];
|
||||||
|
|
||||||
[apple_platform loadingCore:nil withFile:nil];
|
[apple_platform loadingCore:nil withFile:nil];
|
||||||
|
|
||||||
|
if (rarch_main(0, NULL))
|
||||||
|
apple_rarch_exited();
|
||||||
|
|
||||||
driver = driver_get_ptr();
|
driver = driver_get_ptr();
|
||||||
|
|
||||||
if ( driver->menu_ctx && driver->menu_ctx == &menu_ctx_ios && driver->menu && driver->menu->userdata )
|
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();
|
apple_gamecontroller_init();
|
||||||
|
|
||||||
|
[self showPauseMenu:self];
|
||||||
|
|
||||||
[self apple_start_iteration];
|
[self apple_start_iteration];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user