mirror of
https://github.com/libretro/RetroArch
synced 2025-04-02 07:20:34 +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;
|
waiting_argc = 0;
|
||||||
_wantReload = false;
|
_wantReload = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
- (void)applicationDidBecomeActive:(NSNotification *)notification
|
||||||
|
{
|
||||||
apple_start_iteration();
|
apple_start_iteration();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (void)applicationWillResignActive:(NSNotification *)notification
|
||||||
|
{
|
||||||
|
apple_stop_iteration();
|
||||||
|
}
|
||||||
|
|
||||||
- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)theApplication
|
- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)theApplication
|
||||||
{
|
{
|
||||||
return YES;
|
return YES;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user