summaryrefslogtreecommitdiff
path: root/macosx/PcsxrDiscHandler.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/PcsxrDiscHandler.m')
-rw-r--r--macosx/PcsxrDiscHandler.m10
1 files changed, 8 insertions, 2 deletions
diff --git a/macosx/PcsxrDiscHandler.m b/macosx/PcsxrDiscHandler.m
index 83a83e8d..86efdf73 100644
--- a/macosx/PcsxrDiscHandler.m
+++ b/macosx/PcsxrDiscHandler.m
@@ -24,8 +24,14 @@
- (BOOL)handleFile:(NSString *)theFile
{
- SetIsoFile([theFile fileSystemRepresentation]);
- [EmuThread run];
+ if ([EmuThread active] == TRUE) {
+ SetCdOpenCaseTime(time(NULL) + 2);
+ SetIsoFile([theFile fileSystemRepresentation]);
+ //[EmuThread reset];
+ } else {
+ SetIsoFile([theFile fileSystemRepresentation]);
+ [EmuThread run];
+ }
return YES;
}