mirror of
https://github.com/zydeco/minivmac4ios.git
synced 2024-12-01 03:49:19 +00:00
pause emulator when settings screen is visible
This commit is contained in:
parent
ac333642fd
commit
5f236b2a29
@ -23,6 +23,16 @@
|
|||||||
keyboardLayouts = [[NSBundle mainBundle] pathsForResourcesOfType:@"nfkeyboardlayout" inDirectory:@"Keyboard Layouts"];
|
keyboardLayouts = [[NSBundle mainBundle] pathsForResourcesOfType:@"nfkeyboardlayout" inDirectory:@"Keyboard Layouts"];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (void)viewDidAppear:(BOOL)animated {
|
||||||
|
[super viewDidAppear:animated];
|
||||||
|
[AppDelegate sharedInstance].emulatorRunning = NO;
|
||||||
|
}
|
||||||
|
|
||||||
|
- (void)viewWillDisappear:(BOOL)animated {
|
||||||
|
[super viewWillDisappear:animated];
|
||||||
|
[AppDelegate sharedInstance].emulatorRunning = YES;
|
||||||
|
}
|
||||||
|
|
||||||
- (void)showInsertDisk:(id)sender {
|
- (void)showInsertDisk:(id)sender {
|
||||||
[[AppDelegate sharedInstance] showInsertDisk:sender];
|
[[AppDelegate sharedInstance] showInsertDisk:sender];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user