summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-12-20 16:04:55 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-12-20 16:04:55 +0000
commite6ac6b9c85f96e3409a36d4c22564a15e9d876f6 (patch)
tree270a6a7e43ea525fafbfdfa1a572280745883195
parent437d0991767359c01d354b9a6f73f2c6b1e7c54c (diff)
downloadpcsxr-e6ac6b9c85f96e3409a36d4c22564a15e9d876f6.tar.gz
Use proper init function for NSURL. This should fix the inability to run ISOs and IMGs.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73552 e17a0e51-4ae3-4d35-97c3-1a29b211df97
-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) {