summaryrefslogtreecommitdiff
path: root/macosx/ConfigurationController.m
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-08-30 02:17:17 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-08-30 02:17:17 +0000
commit6ddb90bd884bf64b2c24011460085ec186b4c6e7 (patch)
tree9f5ccccda7384c67ab08518d8023fb1057325dff /macosx/ConfigurationController.m
parentebafaceb5b5d75b102474ab49e7489fd68cb71d7 (diff)
downloadpcsxr-6ddb90bd884bf64b2c24011460085ec186b4c6e7.tar.gz
Better prefs managing on the main app.
Moving a few things around on the Mac side of the plug-ins. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87025 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/ConfigurationController.m')
-rwxr-xr-xmacosx/ConfigurationController.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/ConfigurationController.m b/macosx/ConfigurationController.m
index 0c5265d9..4d06d05f 100755
--- a/macosx/ConfigurationController.m
+++ b/macosx/ConfigurationController.m
@@ -40,7 +40,7 @@ NSString *const memCardChangeNumberKey = @"PcsxrMemoryCardThatChangedKey";
NSString *key = [self keyForSender:sender];
if (key) {
- [[NSUserDefaults standardUserDefaults] setInteger:[sender intValue] forKey:key];
+ [[NSUserDefaults standardUserDefaults] setBool:[sender intValue] ? YES : NO forKey:key];
[PcsxrController setConfigFromDefaults];
}
}
@@ -53,7 +53,7 @@ NSString *const memCardChangeNumberKey = @"PcsxrMemoryCardThatChangedKey";
NSString *key = [self keyForSender:sender];
if (key) {
- [[NSUserDefaults standardUserDefaults] setInteger:![sender intValue] forKey:key];
+ [[NSUserDefaults standardUserDefaults] setBool:[sender intValue] ? NO : YES forKey:key];
[PcsxrController setConfigFromDefaults];
}
}