diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-12-05 21:57:42 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-12-05 21:57:42 +0000 |
| commit | a3dec2f0e342c4c693b058065d021479cee09461 (patch) | |
| tree | 44a667f3f8112857eb8bce1caa8b8c250bbbad0b | |
| parent | 353134c57df2cc43dd9f3ae3d122213a861ea03f (diff) | |
| download | pcsxr-a3dec2f0e342c4c693b058065d021479cee09461.tar.gz | |
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
| -rw-r--r-- | macosx/Info.plist | 2 | ||||
| -rw-r--r-- | 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 @@ <string>Pmcr</string> </array> <key>CFBundleTypeRole</key> - <string>Viewer</string> + <string>Editor</string> <key>LSItemContentTypes</key> <array> <string>com.codeplex.pcsxr.memcard</string> 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]; |
