From a3dec2f0e342c4c693b058065d021479cee09461 Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Mon, 5 Dec 2011 21:57:42 +0000 Subject: Workaround to get PCSXR for Mac to have ISOs selectable. Updating the info.plist to have memory cards set as editable. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72891 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/Info.plist | 2 +- macosx/PcsxrController.m | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/macosx/Info.plist b/macosx/Info.plist index c098366e..ade87f1f 100644 --- a/macosx/Info.plist +++ b/macosx/Info.plist @@ -68,7 +68,7 @@ Pmcr CFBundleTypeRole - Viewer + Editor LSItemContentTypes com.codeplex.pcsxr.memcard diff --git a/macosx/PcsxrController.m b/macosx/PcsxrController.m index 2cf95ec3..3b92402e 100644 --- a/macosx/PcsxrController.m +++ b/macosx/PcsxrController.m @@ -33,7 +33,7 @@ NSString *saveStatePath; [openDlg setCanChooseFiles:YES]; [openDlg setCanChooseDirectories:NO]; - [openDlg setAllowedFileTypes:[NSArray arrayWithObject:@"com.codeplex.pcsxr.psxdiscfile"]]; + [openDlg setAllowedFileTypes:[NSArray arrayWithObjects:@"com.codeplex.pcsxr.psxdiscfile", @"bin", @"img", @"mdf", @"iso", nil]]; if ([openDlg runModal] == NSFileHandlingPanelOKButton) { NSArray* files = [openDlg URLs]; @@ -113,7 +113,7 @@ NSString *saveStatePath; [openDlg setCanChooseFiles:YES]; [openDlg setCanChooseDirectories:NO]; - [openDlg setAllowedFileTypes:[NSArray arrayWithObject:@"com.codeplex.pcsxr.psxdiscfile"]]; + [openDlg setAllowedFileTypes:[NSArray arrayWithObjects:@"com.codeplex.pcsxr.psxdiscfile", @"bin", @"img", @"mdf", @"iso", nil]]; if ([openDlg runModal] == NSFileHandlingPanelOKButton) { NSArray* urls = [openDlg URLs]; -- cgit v1.2.3