diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-11-02 12:23:10 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-11-02 12:23:10 +0000 |
| commit | 946e44f786311b367a0f66de424e42330de7cbc0 (patch) | |
| tree | 54d98dddc2bb9a4aea007b08c79ea7723a3e507d /macosx/ConfigurationController.m | |
| parent | 3c791667648a61138c29f8fec56a38d9c343e97a (diff) | |
| download | pcsxr-946e44f786311b367a0f66de424e42330de7cbc0.tar.gz | |
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@34885 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/ConfigurationController.m')
| -rw-r--r-- | macosx/ConfigurationController.m | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/macosx/ConfigurationController.m b/macosx/ConfigurationController.m index d5e4cd8d..e62465e2 100644 --- a/macosx/ConfigurationController.m +++ b/macosx/ConfigurationController.m @@ -61,12 +61,12 @@ - (void)awakeFromNib { NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; - + [[self window] center]; - + // setup checkboxes checkBoxDefaults = [[NSMutableDictionary alloc] init]; - + // check that the outlets are active before adding them if (noXaAudioCell) [checkBoxDefaults setObject:noXaAudioCell forKey:@"NoXaAudio"]; if (sioIrqAlwaysCell) [checkBoxDefaults setObject:sioIrqAlwaysCell forKey:@"SioIrqAlways"]; @@ -81,7 +81,7 @@ if (rCountFixCell) [checkBoxDefaults setObject:rCountFixCell forKey:@"RootCounterFix"]; if (vSyncWAFixCell) [checkBoxDefaults setObject:vSyncWAFixCell forKey:@"VideoSyncWAFix"]; if (noFastBootCell) [checkBoxDefaults setObject:noFastBootCell forKey:@"NoFastBoot"]; - + // make the visuals match the defaults NSEnumerator *enumerator= [checkBoxDefaults keyEnumerator]; id key; @@ -90,14 +90,14 @@ [[checkBoxDefaults objectForKey:key] setNextState]; } } - + // special cases if (![PcsxController biosAvailable]) { // no bios means always use HLE [usesHleCell setState:NSOnState]; [usesHleCell setEnabled:NO]; } - + int tag = [defaults integerForKey:@"AutoDetectVideoType"]; if (tag) tag = 3; @@ -110,10 +110,10 @@ } else { [vTypePALCell selectItemAtIndex:[vTypePALCell indexOfItemWithTag:tag]]; } - + // setup plugin lists PluginList *list = [PluginList list]; - + [list refreshPlugins]; [graphicsPlugin setPluginsTo:[list pluginsForType:PSE_LT_GPU] withType: PSE_LT_GPU]; [soundPlugin setPluginsTo:[list pluginsForType:PSE_LT_SPU] withType: PSE_LT_SPU]; @@ -124,7 +124,6 @@ - (void)dealloc { [checkBoxDefaults release]; - [super dealloc]; } |
