From 54a898fced26e941c1dfd28db46bcb25b1d12eae Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Sat, 13 Oct 2012 22:07:53 +0000 Subject: 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 --- macosx/plugins/DFCdrom/macsrc/PluginConfigController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'macosx/plugins/DFCdrom/macsrc') 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]) { -- cgit v1.2.3