diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-06-26 04:41:26 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-06-26 04:41:26 +0000 |
| commit | cedd6e77340d6693630ff9d06b0a64d9be675de3 (patch) | |
| tree | c59e47845d41b7add202a786d00131222cc7ac0e /macosx/ConfigurationController.m | |
| parent | 14380119bf8571a421366c64a3732953f3b6a2d0 (diff) | |
| download | pcsxr-cedd6e77340d6693630ff9d06b0a64d9be675de3.tar.gz | |
Set some NSURLs as directories.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85562 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/ConfigurationController.m')
| -rwxr-xr-x | macosx/ConfigurationController.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/ConfigurationController.m b/macosx/ConfigurationController.m index adadb92e..0ba7dd79 100755 --- a/macosx/ConfigurationController.m +++ b/macosx/ConfigurationController.m @@ -86,7 +86,7 @@ NSString *const memCardChangeNumberKey = @"PcsxrMemoryCardThatChangedKey"; path = [[NSFileManager defaultManager] stringWithFileSystemRepresentation:mcd length:strlen(mcd)]; - [openDlg setDirectoryURL:[NSURL fileURLWithPath:[path stringByDeletingLastPathComponent]]]; + [openDlg setDirectoryURL:[NSURL fileURLWithPath:[path stringByDeletingLastPathComponent] isDirectory:YES]]; [openDlg setNameFieldStringValue:[path lastPathComponent]]; if ([openDlg runModal] == NSFileHandlingPanelOKButton) { @@ -110,7 +110,7 @@ NSString *const memCardChangeNumberKey = @"PcsxrMemoryCardThatChangedKey"; path = [[NSFileManager defaultManager] stringWithFileSystemRepresentation:mcd length:strlen(mcd)]; - [openDlg setDirectoryURL:[NSURL fileURLWithPath:[path stringByDeletingLastPathComponent]]]; + [openDlg setDirectoryURL:[NSURL fileURLWithPath:[path stringByDeletingLastPathComponent] isDirectory:YES]]; [openDlg setNameFieldStringValue:@"New Memory Card File.mcr"]; [openDlg setAllowedFileTypes:[PcsxrMemCardHandler supportedUTIs]]; |
