diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-11-04 02:54:50 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-11-04 02:54:50 +0000 |
| commit | ea688720ca433a8b3e677eba1b5b980e0d16c216 (patch) | |
| tree | 9cf2d498878d051040abf4059f315e4ec4a54124 /macosx/PcsxController.m | |
| parent | 559fd026bb57e0d71615b237c37a31f287af5940 (diff) | |
| download | pcsxr-ea688720ca433a8b3e677eba1b5b980e0d16c216.tar.gz | |
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@35399 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/PcsxController.m')
| -rw-r--r-- | macosx/PcsxController.m | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/macosx/PcsxController.m b/macosx/PcsxController.m index d4e82b13..a7e5f313 100644 --- a/macosx/PcsxController.m +++ b/macosx/PcsxController.m @@ -154,11 +154,13 @@ NSString *saveStatePath; [menuItem setState:([EmuThread isPaused] ? NSOnState : NSOffState)]; } - if ([menuItem action] == @selector(reset:) || [menuItem action] == @selector(pause:) || - [menuItem action] == @selector(ejectCD:) || [menuItem action] == @selector(freeze:) || + if ([menuItem action] == @selector(pause:) || [menuItem action] == @selector(freeze:) || [menuItem action] == @selector(fullscreen:)) return [EmuThread active]; + if ([menuItem action] == @selector(reset:) || [menuItem action] == @selector(ejectCD:)) + return [EmuThread active] && ![EmuThread isRunBios]; + if ([menuItem action] == @selector(runCD:) || [menuItem action] == @selector(runIso:) || [menuItem action] == @selector(runBios:)) { if (preferenceWindow != nil) |
