summaryrefslogtreecommitdiff
path: root/macosx/plugins/DFSound/macsrc/PluginController.m
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-08-29 23:36:29 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-08-29 23:36:29 +0000
commit460faedba401d0f1a754e8d3b9d4fd1c853d9413 (patch)
tree64f2b3f0e960c0da80df729ead41a9a1165b37dc /macosx/plugins/DFSound/macsrc/PluginController.m
parent06f5ec54da4efb1383298da7c2d20805c5304dd1 (diff)
downloadpcsxr-460faedba401d0f1a754e8d3b9d4fd1c853d9413.tar.gz
Re-working how DFInput on OS X stores preferences, making it match the rest of the OS X plug-ins.
Do some localization support work on DFInput on OS X. Bump the version in the info.plist file for DFInput to 1.5. Other code changes and improvements on the Mac port. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87023 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/plugins/DFSound/macsrc/PluginController.m')
-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 3f521985..c03c4eaf 100755
--- a/macosx/plugins/DFSound/macsrc/PluginController.m
+++ b/macosx/plugins/DFSound/macsrc/PluginController.m
@@ -122,17 +122,17 @@ void ReadConfig(void)
@3, @"Volume",
nil], PrefsKey,
nil]];
-
+
keyValues = [defaults dictionaryForKey:PrefsKey];
-
+
iUseTimer = [[keyValues objectForKey:@"High Compatibility Mode"] boolValue] ? 2 : 0;
iSPUIRQWait = [[keyValues objectForKey:@"SPU IRQ Wait"] boolValue];
iDisStereo = [[keyValues objectForKey:@"Mono Sound Output"] boolValue];
iXAPitch = [[keyValues objectForKey:@"XA Pitch"] boolValue];
-
+
iUseInterpolation = [[keyValues objectForKey:@"Interpolation Quality"] intValue];
iUseReverb = [[keyValues objectForKey:@"Reverb Quality"] intValue];
-
+
iVolume = 5 - [[keyValues objectForKey:@"Volume"] intValue];
}