diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-08-30 00:18:10 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-08-30 00:18:10 +0000 |
| commit | ebafaceb5b5d75b102474ab49e7489fd68cb71d7 (patch) | |
| tree | 6727f807d018732a7bac8c63f471a1bebc5dfe5a /macosx/plugins/DFXVideo/macsrc/PluginConfigController.m | |
| parent | 460faedba401d0f1a754e8d3b9d4fd1c853d9413 (diff) | |
Preference changes in OS X plug-ins.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87024 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/plugins/DFXVideo/macsrc/PluginConfigController.m')
| -rwxr-xr-x | macosx/plugins/DFXVideo/macsrc/PluginConfigController.m | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/macosx/plugins/DFXVideo/macsrc/PluginConfigController.m b/macosx/plugins/DFXVideo/macsrc/PluginConfigController.m index 36c91784..1410de88 100755 --- a/macosx/plugins/DFXVideo/macsrc/PluginConfigController.m +++ b/macosx/plugins/DFXVideo/macsrc/PluginConfigController.m @@ -202,13 +202,13 @@ void ReadConfig(void) NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; NSMutableDictionary *writeDic = [NSMutableDictionary dictionaryWithDictionary:keyValues]; - [writeDic setObject:@((BOOL)[fpsCounter intValue]) forKey:@"FPS Counter"]; - [writeDic setObject:@((BOOL)[autoFullScreen intValue]) forKey:@"Auto Full Screen"]; - [writeDic setObject:@((BOOL)[frameSkipping intValue]) forKey:@"Frame Skipping"]; + [writeDic setObject:([fpsCounter intValue] ? @YES : @NO) forKey:@"FPS Counter"]; + [writeDic setObject:([autoFullScreen intValue] ? @YES : @NO) forKey:@"Auto Full Screen"]; + [writeDic setObject:([frameSkipping intValue] ? @YES : @NO) forKey:@"Frame Skipping"]; //[writeDic setObject:@([frameLimit intValue]) forKey:@"Frame Limit"]; - [writeDic setObject:@((BOOL)[vSync intValue]) forKey:@"VSync"]; - [writeDic setObject:@((BOOL)[hackEnable intValue]) forKey:@"Enable Hacks"]; - [writeDic setObject:@((BOOL)[shaders intValue]) forKey:@"UseShader"]; + [writeDic setObject:([vSync intValue] ? @YES : @NO) forKey:@"VSync"]; + [writeDic setObject:([hackEnable intValue] ? @YES : @NO) forKey:@"Enable Hacks"]; + [writeDic setObject:([shaders intValue] ? @YES : @NO) forKey:@"UseShader"]; [writeDic setObject:@([shaderQualitySelector indexOfSelectedItem] + 1) forKey:@"ShaderQuality"]; [writeDic setObject:@([ditherMode indexOfSelectedItem]) forKey:@"Dither Mode"]; |
