mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +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();
|
apple_rarch_exited();
|
||||||
|
|
||||||
waiting_argc = 0;
|
waiting_argc = 0;
|
||||||
|
|
||||||
|
[self performSelectorOnMainThread:@selector(rarch_main) withObject:nil waitUntilDone:NO];
|
||||||
}
|
}
|
||||||
|
|
||||||
static void poll_iteration(void)
|
static void poll_iteration(void)
|
||||||
@ -224,7 +226,6 @@ static void poll_iteration(void)
|
|||||||
|
|
||||||
- (void)applicationDidBecomeActive:(NSNotification *)notification
|
- (void)applicationDidBecomeActive:(NSNotification *)notification
|
||||||
{
|
{
|
||||||
[self performSelectorOnMainThread:@selector(rarch_main) withObject:nil waitUntilDone:NO];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)applicationWillResignActive:(NSNotification *)notification
|
- (void)applicationWillResignActive:(NSNotification *)notification
|
||||||
|
Loading…
x
Reference in New Issue
Block a user