summaryrefslogtreecommitdiff
path: root/macosx/PcsxrDiscHandler.m
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-12-12 03:32:21 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-12-12 03:32:21 +0000
commit36f2f623051751cbfcb529d8ebb3a92c20747bab (patch)
treecc3ba36b54ee1e25f0538532265a0c4cbb310d07 /macosx/PcsxrDiscHandler.m
parent5174e012aae4d340b373c2d7c5d028d6e849d9f8 (diff)
downloadpcsxr-36f2f623051751cbfcb529d8ebb3a92c20747bab.tar.gz
Renaming com.codeplex.pcsxr.mdfdisc to com.alcohol-soft.mdfdisc, since the format appears to have originated from the Alcohol 120% software.
Added support for bin/cue by opening the cue file, then getting the .bin file name from the .cue. Added handling of freeze states and disc images. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73179 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/PcsxrDiscHandler.m')
-rw-r--r--macosx/PcsxrDiscHandler.m23
1 files changed, 23 insertions, 0 deletions
diff --git a/macosx/PcsxrDiscHandler.m b/macosx/PcsxrDiscHandler.m
new file mode 100644
index 00000000..16a9582f
--- /dev/null
+++ b/macosx/PcsxrDiscHandler.m
@@ -0,0 +1,23 @@
+//
+// PcsxrDiscHandler.m
+// Pcsxr
+//
+// Created by Charles Betts on 12/11/11.
+// Copyright (c) 2011 __MyCompanyName__. All rights reserved.
+//
+
+#import "PcsxrDiscHandler.h"
+#import "EmuThread.h"
+#include "psxcommon.h"
+#include "plugins.h"
+
+@implementation PcsxrDiscHandler
+
+- (BOOL)handleFile:(NSString *)theFile
+{
+ SetIsoFile([theFile fileSystemRepresentation]);
+ [EmuThread run];
+ return YES;
+}
+
+@end