From 52dd8ecce8339768bedfb424f9cb233b57cd55f4 Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Sun, 18 Dec 2011 23:51:13 +0000 Subject: Changed utisCanHandle to supportedUTIs. reworked application:openFile: to check if a PcsxrFileHandle supports a file then, if it does, uses the specified PcsxrFileHandle. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73485 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/PcsxrMemCardHandler.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'macosx/PcsxrMemCardHandler.m') diff --git a/macosx/PcsxrMemCardHandler.m b/macosx/PcsxrMemCardHandler.m index 7998cdda..b8d3cdd9 100644 --- a/macosx/PcsxrMemCardHandler.m +++ b/macosx/PcsxrMemCardHandler.m @@ -11,7 +11,7 @@ @implementation PcsxrMemCardHandler -+ (NSArray *)utisCanHandle ++ (NSArray *)supportedUTIs { return [NSArray arrayWithObject:@"com.codeplex.pcsxr.memcard"]; } @@ -28,7 +28,7 @@ - (id)init { - self = [super initWithWindowNibName:@"PcsxrMemCardDocument"]; + self = [self initWithWindowNibName:@"PcsxrMemCardDocument"]; return self; } -- cgit v1.2.3