diff options
Diffstat (limited to 'macosx/PcsxrDiscHandler.m')
| -rwxr-xr-x | macosx/PcsxrDiscHandler.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/macosx/PcsxrDiscHandler.m b/macosx/PcsxrDiscHandler.m index 77a35569..eceec784 100755 --- a/macosx/PcsxrDiscHandler.m +++ b/macosx/PcsxrDiscHandler.m @@ -21,10 +21,7 @@ @end @implementation PcsxrDiscHandler - @synthesize discURL = _discURL; -@synthesize discPath; - - (NSURL*)discURL { if (!_discURL) { @@ -33,11 +30,14 @@ return _discURL; } +@synthesize discPath; + + (NSArray *)supportedUTIs { static NSArray *utisupport = nil; if (utisupport == nil) { - utisupport = [[NSArray alloc] initWithObjects:@"com.alcohol-soft.mdfdisc", @"com.goldenhawk.cdrwin-cuesheet", @"com.apple.disk-image-ndif", @"public.iso-image", @"com.sony.psp.firmware", @"com.codeplex.pcsxr.compressed-bin-image", nil]; + utisupport = @[@"com.alcohol-soft.mdfdisc", @"com.goldenhawk.cdrwin-cuesheet", @"com.apple.disk-image-ndif", @"public.iso-image", @"com.sony.psp.firmware", @"com.codeplex.pcsxr.compressed-bin-image"]; + RETAINOBJNORETURN(utisupport); } return utisupport; } |
