summaryrefslogtreecommitdiff
path: root/macosx/plugins/DFSound
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-08-30 00:18:10 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-08-30 00:18:10 +0000
commitebafaceb5b5d75b102474ab49e7489fd68cb71d7 (patch)
tree6727f807d018732a7bac8c63f471a1bebc5dfe5a /macosx/plugins/DFSound
parent460faedba401d0f1a754e8d3b9d4fd1c853d9413 (diff)
downloadpcsxr-ebafaceb5b5d75b102474ab49e7489fd68cb71d7.tar.gz
Preference changes in OS X plug-ins.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87024 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/plugins/DFSound')
-rwxr-xr-xmacosx/plugins/DFSound/macsrc/PluginController.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/macosx/plugins/DFSound/macsrc/PluginController.m b/macosx/plugins/DFSound/macsrc/PluginController.m
index c03c4eaf..cc6b330a 100755
--- a/macosx/plugins/DFSound/macsrc/PluginController.m
+++ b/macosx/plugins/DFSound/macsrc/PluginController.m
@@ -148,10 +148,10 @@ void ReadConfig(void)
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
NSMutableDictionary *writeDic = [NSMutableDictionary dictionaryWithDictionary:self.keyValues];
- [writeDic setObject:@((BOOL)[hiCompBox intValue]) forKey:@"High Compatibility Mode"];
- [writeDic setObject:@((BOOL)[irqWaitBox intValue]) forKey:@"SPU IRQ Wait"];
- [writeDic setObject:@((BOOL)[monoSoundBox intValue]) forKey:@"Mono Sound Output"];
- [writeDic setObject:@((BOOL)[xaSpeedBox intValue]) forKey:@"XA Pitch"];
+ [writeDic setObject:([hiCompBox intValue] ? @YES : @NO) forKey:@"High Compatibility Mode"];
+ [writeDic setObject:([irqWaitBox intValue] ? @YES : @NO) forKey:@"SPU IRQ Wait"];
+ [writeDic setObject:([monoSoundBox intValue] ? @YES : @NO) forKey:@"Mono Sound Output"];
+ [writeDic setObject:([xaSpeedBox intValue] ? @YES : @NO) forKey:@"XA Pitch"];
[writeDic setObject:@([interpolValue intValue]) forKey:@"Interpolation Quality"];
[writeDic setObject:@([reverbValue intValue]) forKey:@"Reverb Quality"];