diff options
Diffstat (limited to 'macosx/plugins/DFSound/macsrc')
| -rw-r--r-- | macosx/plugins/DFSound/macsrc/PluginController.h | 4 | ||||
| -rw-r--r-- | macosx/plugins/DFSound/macsrc/PluginController.m | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/macosx/plugins/DFSound/macsrc/PluginController.h b/macosx/plugins/DFSound/macsrc/PluginController.h index 6479c8ba..3de02397 100644 --- a/macosx/plugins/DFSound/macsrc/PluginController.h +++ b/macosx/plugins/DFSound/macsrc/PluginController.h @@ -3,10 +3,6 @@ #import <Cocoa/Cocoa.h> #import "NamedSlider.h" -void DoAbout(); -long DoConfiguration(); -void LoadConfiguration(); - #ifdef USEOPENAL #define PluginController NetSfPeopsALPluginController #else diff --git a/macosx/plugins/DFSound/macsrc/PluginController.m b/macosx/plugins/DFSound/macsrc/PluginController.m index b5f9fb7b..590ae034 100644 --- a/macosx/plugins/DFSound/macsrc/PluginController.m +++ b/macosx/plugins/DFSound/macsrc/PluginController.m @@ -1,6 +1,7 @@ #import "PluginController.h" #include "stdafx.h" #include "externals.h" +#include "maccfg.h" #ifdef USEOPENAL #define APP_ID @"net.sf.peops.ALPlugin" @@ -137,7 +138,7 @@ void ReadConfig(void) /* load from preferences */ [keyValues release]; - keyValues = [[defaults dictionaryForKey:PrefsKey] retain]; + keyValues = [[defaults dictionaryForKey:PrefsKey] mutableCopy]; [hiCompBox setIntValue:[[keyValues objectForKey:@"High Compatibility Mode"] intValue]]; [irqWaitBox setIntValue:[[keyValues objectForKey:@"SPU IRQ Wait"] intValue]]; |
