summaryrefslogtreecommitdiff
path: root/macosx/ConfigurationController.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/ConfigurationController.m')
-rw-r--r--macosx/ConfigurationController.m7
1 files changed, 5 insertions, 2 deletions
diff --git a/macosx/ConfigurationController.m b/macosx/ConfigurationController.m
index a89775e3..4460e396 100644
--- a/macosx/ConfigurationController.m
+++ b/macosx/ConfigurationController.m
@@ -99,10 +99,13 @@ NSString *memChangeNotifier = @"PcsxrMemoryCardDidChangeNotifier";
if ([openDlg runModal] == NSFileHandlingPanelOKButton) {
NSString *mcdPath = [[openDlg URL] path];
+
+ //Workaround/kludge to make sure we create a memory card before posting a notification
+ strcpy(mcd, [mcdPath fileSystemRepresentation]);
+
+ CreateMcd(mcd);
[ConfigurationController setMemoryCard:tag toPath:mcdPath];
-
- CreateMcd(mcd);
}
[openDlg release];
}