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