summaryrefslogtreecommitdiff
path: root/macosx/Source/PcsxrDiscHandler.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/Source/PcsxrDiscHandler.m')
-rw-r--r--macosx/Source/PcsxrDiscHandler.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/Source/PcsxrDiscHandler.m b/macosx/Source/PcsxrDiscHandler.m
index 996fdab3..f93f91d4 100644
--- a/macosx/Source/PcsxrDiscHandler.m
+++ b/macosx/Source/PcsxrDiscHandler.m
@@ -46,7 +46,7 @@
- (BOOL)handleFile:(NSString *)theFile
{
self.discPath = theFile;
- PcsxrController *appDelegate = [NSApp delegate];
+ PcsxrController *appDelegate = [(NSApplication*)NSApp delegate];
if ([EmuThread active] == YES && !UsingIso()) {
return NO;
}