diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-08-24 02:19:14 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-08-24 02:19:14 +0000 |
| commit | 8b64ca8414e1dcf56b1d3d3a481090e551499445 (patch) | |
| tree | ec0ca496628d928ab03f4488626cb30bfab8593a /macosx/plugins/PeopsXgl/macsrc/NetSfPeopsOpenGLPluginConfigController.m | |
| parent | 0fe00d6450e7f0288cad751d46fff70118857859 (diff) | |
| download | pcsxr-8b64ca8414e1dcf56b1d3d3a481090e551499445.tar.gz | |
Continual improvement to OS X code.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86890 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/plugins/PeopsXgl/macsrc/NetSfPeopsOpenGLPluginConfigController.m')
| -rwxr-xr-x | macosx/plugins/PeopsXgl/macsrc/NetSfPeopsOpenGLPluginConfigController.m | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/macosx/plugins/PeopsXgl/macsrc/NetSfPeopsOpenGLPluginConfigController.m b/macosx/plugins/PeopsXgl/macsrc/NetSfPeopsOpenGLPluginConfigController.m index 9097ffe8..fbcf0cf4 100755 --- a/macosx/plugins/PeopsXgl/macsrc/NetSfPeopsOpenGLPluginConfigController.m +++ b/macosx/plugins/PeopsXgl/macsrc/NetSfPeopsOpenGLPluginConfigController.m @@ -59,7 +59,7 @@ void AboutDlgProc() NSString *path = [bundle pathForResource:@"Credits" ofType:@"rtf"]; NSAttributedString *credits; if (path) { - credits = AUTORELEASEOBJ([[NSAttributedString alloc] initWithPath: path documentAttributes:NULL]); + credits = AUTORELEASEOBJ([[NSAttributedString alloc] initWithPath:path documentAttributes:NULL]); } else { credits = AUTORELEASEOBJ([[NSAttributedString alloc] initWithString:@""]); } @@ -167,7 +167,7 @@ void PrepFactoryDefaultPreferences(void) NSStringFromSize(NSMakeSize(800, 600)), kWindowSize, @NO, @"Draw Scanlines", // nasty: - [NSArchiver archivedDataWithRootObject: [NSColor colorWithCalibratedRed:0 green:0 blue:0 alpha:0.25]], @"Scanline Color", + [NSArchiver archivedDataWithRootObject: [NSColor colorWithCalibratedRed:0 green:0 blue:0 alpha:0.25]], @"Scanline Color", @NO, @"Advanced Blending", @NO, @"Opaque Pass", @NO, @"Blur", @@ -278,8 +278,7 @@ void ReadConfig(void) // additional checks if(!iColDepth) iColDepth=32; - if(bUseFixes) - { + if(bUseFixes) { dwActFixes = dwCfgFixes; } else { dwActFixes = 0; @@ -315,12 +314,12 @@ void ReadConfig(void) [writeDic setObject:([autoFullScreen integerValue] ? @YES : @NO) forKey:kAutoFullScreen]; //[writeDic setObject:([frameLimit integerValue] ? @YES : @NO) forKey:kFrameLimit]; [writeDic setObject:([proportionalResize integerValue] ? @YES : @NO) forKey:@"Proportional Resize"]; - [writeDic setObject:@([ditherMode indexOfItem:[ditherMode selectedItem]]) forKey:@"Dither Mode"]; - [writeDic setObject:@([offscreenDrawing indexOfItem:[offscreenDrawing selectedItem]]) forKey:@"Offscreen Drawing Level"]; - [writeDic setObject:@([texColorDepth indexOfItem:[texColorDepth selectedItem]]) forKey:@"Texture Color Depth Level"]; + [writeDic setObject:@([ditherMode indexOfSelectedItem]) forKey:@"Dither Mode"]; + [writeDic setObject:@([offscreenDrawing indexOfSelectedItem]) forKey:@"Offscreen Drawing Level"]; + [writeDic setObject:@([texColorDepth indexOfSelectedItem]) forKey:@"Texture Color Depth Level"]; [writeDic setObject:@([texEnhancment integerValue]) forKey:@"Texture Enhancement Level"]; [writeDic setObject:@([texFiltering integerValue]) forKey:@"Texture Filter Level"]; - [writeDic setObject:@([frameBufferEffects indexOfItem:[frameBufferEffects selectedItem]]) forKey:@"Frame Buffer Level"]; + [writeDic setObject:@([frameBufferEffects indexOfSelectedItem]) forKey:@"Frame Buffer Level"]; [writeDic setObject:([drawScanlines integerValue] ? @YES : @NO) forKey:@"Draw Scanlines"]; [writeDic setObject:([advancedBlending integerValue] ? @YES : @NO) forKey:@"Advanced Blending"]; [writeDic setObject:([opaquePass integerValue] ? @YES : @NO) forKey:@"Opaque Pass"]; |
