summaryrefslogtreecommitdiff
path: root/macosx/ConfigurationController.m
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-07-05 11:35:09 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-07-05 11:35:09 +0000
commit611182f4aeeed4aecf8c10f5ac1d8eb2f5b5b2a8 (patch)
tree2eb2375d6e599ed5da440d4a106978f0a0e9a46c /macosx/ConfigurationController.m
parent35b6580dd3fffd51d38035791d7997523c3ce73f (diff)
downloadpcsxr-611182f4aeeed4aecf8c10f5ac1d8eb2f5b5b2a8.tar.gz
Grouping similar classes in Xcode.
Implement the Instrument build phase, for when your profile with Instruments. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85842 e17a0e51-4ae3-4d35-97c3-1a29b211df97
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)];