mirror of
https://github.com/zydeco/minivmac4ios.git
synced 2024-11-26 15:49:16 +00:00
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 {
|
- (void)applicationDidEnterBackground:(UIApplication *)application {
|
||||||
|
[[NSUserDefaults standardUserDefaults] synchronize];
|
||||||
sharedEmulator.running = NO;
|
sharedEmulator.running = NO;
|
||||||
if (sharedEmulator.anyDiskInserted == NO) {
|
if (sharedEmulator.anyDiskInserted == NO) {
|
||||||
exit(0);
|
exit(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user