mirror of
https://github.com/zydeco/minivmac4ios.git
synced 2024-11-22 19:31:47 +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