summaryrefslogtreecommitdiff
path: root/macosx/PcsxrMemCardHandler.m
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-01-28 16:51:10 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-01-28 16:51:10 +0000
commit6e2f3f0721263cfdd3c8f866b9cf3cb693b2f8ac (patch)
treebe88f90ad774ba19c7634b4c835301adc86333cb /macosx/PcsxrMemCardHandler.m
parentf4bdd6ba7c7175cb96fd3bb9cfc084caf379994b (diff)
downloadpcsxr-6e2f3f0721263cfdd3c8f866b9cf3cb693b2f8ac.tar.gz
Messing around with the file handling XIBs.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82566 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/PcsxrMemCardHandler.m')
-rwxr-xr-xmacosx/PcsxrMemCardHandler.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/PcsxrMemCardHandler.m b/macosx/PcsxrMemCardHandler.m
index 934414d2..7d043049 100755
--- a/macosx/PcsxrMemCardHandler.m
+++ b/macosx/PcsxrMemCardHandler.m
@@ -56,11 +56,11 @@
if (![self window]) {
[NSBundle loadNibNamed:@"PcsxrMemCardDocument" owner:self];
}
- [cardPath setObjectValue:[[NSURL fileURLWithPath:theFile] lastPathComponent]];
+ [cardPath setObjectValue:[theFile lastPathComponent]];
[NSApp runModalForWindow:[self window]];
- [[self window] orderOut:self];
+ [[self window] orderOut:nil];
if (memChosen != 0) {
[ConfigurationController setMemoryCard:memChosen toPath:theFile];