mirror of
https://github.com/zydeco/minivmac4ios.git
synced 2024-11-22 03:30:59 +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"];
|
||||
}
|
||||
|
||||
- (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 {
|
||||
[[AppDelegate sharedInstance] showInsertDisk:sender];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user