mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(OSX) Implement applicationDidBecomeActive and applicationWillResignActive
This commit is contained in:
parent
4894e2134f
commit
ec4de627dd
@ -186,10 +186,18 @@ static char** waiting_argv;
|
||||
|
||||
waiting_argc = 0;
|
||||
_wantReload = false;
|
||||
}
|
||||
|
||||
- (void)applicationDidBecomeActive:(NSNotification *)notification
|
||||
{
|
||||
apple_start_iteration();
|
||||
}
|
||||
|
||||
- (void)applicationWillResignActive:(NSNotification *)notification
|
||||
{
|
||||
apple_stop_iteration();
|
||||
}
|
||||
|
||||
- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)theApplication
|
||||
{
|
||||
return YES;
|
||||
|
Loading…
x
Reference in New Issue
Block a user