summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--macosx/PcsxrController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/PcsxrController.m b/macosx/PcsxrController.m
index 41830c26..48cd63e5 100644
--- a/macosx/PcsxrController.m
+++ b/macosx/PcsxrController.m
@@ -18,7 +18,7 @@ NSString *saveStatePath;
static NSString *HandleBinCue(NSString *toHandle)
{
- NSURL *tempURL = [[NSURL alloc] initWithString:toHandle];
+ NSURL *tempURL = [[NSURL alloc] initFileURLWithPath:toHandle];
NSString *extension = [tempURL pathExtension];
NSString *newName = toHandle;
if ([extension caseInsensitiveCompare:@"cue"] == NSOrderedSame) {