summaryrefslogtreecommitdiff
path: root/macosx/ConfigurationController.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/ConfigurationController.m')
-rwxr-xr-xmacosx/ConfigurationController.m14
1 files changed, 10 insertions, 4 deletions
diff --git a/macosx/ConfigurationController.m b/macosx/ConfigurationController.m
index 1cf18dbd..b3f5f5c6 100755
--- a/macosx/ConfigurationController.m
+++ b/macosx/ConfigurationController.m
@@ -75,8 +75,11 @@ NSString *const memCardChangeNumberKey = @"PcsxrMemoryCardThatChangedKey";
NSOpenPanel *openDlg = RETAINOBJ([NSOpenPanel openPanel]);
NSString *path;
- if (tag == 1) { mcd = Config.Mcd1; }
- else { mcd = Config.Mcd2; }
+ if (tag == 1) {
+ mcd = Config.Mcd1;
+ } else {
+ mcd = Config.Mcd2;
+ }
[openDlg setCanChooseFiles:YES];
[openDlg setCanChooseDirectories:NO];
@@ -103,8 +106,11 @@ NSString *const memCardChangeNumberKey = @"PcsxrMemoryCardThatChangedKey";
NSSavePanel *openDlg = RETAINOBJ([NSSavePanel savePanel]);
NSString *path;
- if (tag == 1) { mcd = Config.Mcd1; }
- else { mcd = Config.Mcd2; }
+ if (tag == 1) {
+ mcd = Config.Mcd1;
+ } else {
+ mcd = Config.Mcd2;
+ }
path = [[NSFileManager defaultManager] stringWithFileSystemRepresentation:mcd length:strlen(mcd)];