summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmacosx/PcsxrController.m8
1 files changed, 6 insertions, 2 deletions
diff --git a/macosx/PcsxrController.m b/macosx/PcsxrController.m
index 3d18b8dc..8ba710c4 100755
--- a/macosx/PcsxrController.m
+++ b/macosx/PcsxrController.m
@@ -143,8 +143,12 @@ NSString *saveStatePath;
- (void)runURL:(NSURL*)url
{
if ([EmuThread active] == YES) {
- SetCdOpenCaseTime(time(NULL) + 2);
- SetIsoFile([[url path] fileSystemRepresentation]);
+ if (UsingIso()) {
+ SetCdOpenCaseTime(time(NULL) + 2);
+ SetIsoFile([[url path] fileSystemRepresentation]);
+ } else {
+ NSBeep();
+ }
} else {
if ([[NSUserDefaults standardUserDefaults] boolForKey:@"NetPlay"]) {
[pluginList enableNetPlug];