From 6ddb90bd884bf64b2c24011460085ec186b4c6e7 Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Fri, 30 Aug 2013 02:17:17 +0000 Subject: 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 --- macosx/ConfigurationController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'macosx/ConfigurationController.m') 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]; } } -- cgit v1.2.3