summaryrefslogtreecommitdiff
path: root/macosx/PcsxrDiscHandler.m
diff options
context:
space:
mode:
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