summaryrefslogtreecommitdiff
path: root/macosx/plugins/DFCdrom/macsrc
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2012-10-13 22:07:53 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2012-10-13 22:07:53 +0000
commit54a898fced26e941c1dfd28db46bcb25b1d12eae (patch)
tree13be7abcb9b915999e85671617b934ba1317d4d7 /macosx/plugins/DFCdrom/macsrc
parent949b0bc5002cd94dcbf37ef23f6c32d41d62c704 (diff)
We don't need mutable dictionaries when setting plug-in defaults.
Set proper classes in the DFSound Info.plist files. Fix a missing default setting in the sound plug-ins. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@80391 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/plugins/DFCdrom/macsrc')
-rw-r--r--macosx/plugins/DFCdrom/macsrc/PluginConfigController.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/plugins/DFCdrom/macsrc/PluginConfigController.m b/macosx/plugins/DFCdrom/macsrc/PluginConfigController.m
index 8fa790d6..19b5c872 100644
--- a/macosx/plugins/DFCdrom/macsrc/PluginConfigController.m
+++ b/macosx/plugins/DFCdrom/macsrc/PluginConfigController.m
@@ -78,7 +78,7 @@ void ReadConfig()
NSDictionary *keyValues;
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
[defaults registerDefaults:[NSDictionary dictionaryWithObjectsAndKeys:
- [NSMutableDictionary dictionaryWithObjectsAndKeys:
+ [NSDictionary dictionaryWithObjectsAndKeys:
[NSNumber numberWithBool:YES], @"Threaded",
[NSNumber numberWithInt:64], @"Cache Size",
[NSNumber numberWithInt:0], @"Speed",
@@ -104,7 +104,7 @@ void ReadConfig()
NSMutableDictionary *writeDic = [NSMutableDictionary dictionaryWithDictionary:keyValues];
- [writeDic setObject:[NSNumber numberWithInt:[Cached intValue]] forKey:@"Threaded"];
+ [writeDic setObject:[NSNumber numberWithBool:[Cached intValue]] forKey:@"Threaded"];
[writeDic setObject:[NSNumber numberWithInt:[CacheSize intValue]] forKey:@"Cache Size"];
switch ([CdSpeed indexOfSelectedItem]) {