mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(OSX) Perform selectorOnMainThread - move to applicationDidFinishLaunching
This commit is contained in:
parent
4fb78bf3cd
commit
4b9fea617c
@ -191,6 +191,8 @@ static char** waiting_argv;
|
||||
apple_rarch_exited();
|
||||
|
||||
waiting_argc = 0;
|
||||
|
||||
[self performSelectorOnMainThread:@selector(rarch_main) withObject:nil waitUntilDone:NO];
|
||||
}
|
||||
|
||||
static void poll_iteration(void)
|
||||
@ -224,7 +226,6 @@ static void poll_iteration(void)
|
||||
|
||||
- (void)applicationDidBecomeActive:(NSNotification *)notification
|
||||
{
|
||||
[self performSelectorOnMainThread:@selector(rarch_main) withObject:nil waitUntilDone:NO];
|
||||
}
|
||||
|
||||
- (void)applicationWillResignActive:(NSNotification *)notification
|
||||
|
Loading…
x
Reference in New Issue
Block a user