sync defaults when backgrounding (for iOS 7)
This commit is contained in:
parent
38c6a81ed4
commit
e83ce3238b
|
@ -89,6 +89,7 @@ static NSObject<Emulator> *sharedEmulator = nil;
|
|||
}
|
||||
|
||||
- (void)applicationDidEnterBackground:(UIApplication *)application {
|
||||
[[NSUserDefaults standardUserDefaults] synchronize];
|
||||
sharedEmulator.running = NO;
|
||||
if (sharedEmulator.anyDiskInserted == NO) {
|
||||
exit(0);
|
||||
|
|
Loading…
Reference in New Issue