diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-09-10 18:18:15 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-09-10 18:18:15 +0000 |
| commit | a3ac4842bd5c7058b1363f7d3307f61724fc7178 (patch) | |
| tree | 0e71322d034432a925cbdab2f5e92bc891d3efde /macosx/plugins/DFXVideo/macsrc/PluginConfigController.m | |
| parent | aca9c8411f7b86b1ee685965c70e7be682a9a4d0 (diff) | |
Remove 32-bit support on OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87114 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/plugins/DFXVideo/macsrc/PluginConfigController.m')
| -rwxr-xr-x | macosx/plugins/DFXVideo/macsrc/PluginConfigController.m | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/macosx/plugins/DFXVideo/macsrc/PluginConfigController.m b/macosx/plugins/DFXVideo/macsrc/PluginConfigController.m index 1410de88..d891c74c 100755 --- a/macosx/plugins/DFXVideo/macsrc/PluginConfigController.m +++ b/macosx/plugins/DFXVideo/macsrc/PluginConfigController.m @@ -4,7 +4,6 @@ #include "menu.h" #include "externals.h" #import "SGPUPreferences.h" -#import "ARCBridge.h" #import "PluginGLView.h" #ifdef ENABLE_NLS @@ -54,9 +53,8 @@ void AboutDlgProc() if (path) { credits = [[NSAttributedString alloc] initWithPath: path documentAttributes:NULL]; - AUTORELEASEOBJNORETURN(credits); } else { - credits = AUTORELEASEOBJ([[NSAttributedString alloc] initWithString:@""]); + credits = [[NSAttributedString alloc] initWithString:@""]; } // Get Application Icon @@ -76,7 +74,6 @@ void AboutDlgProc() dispatch_async(dispatch_get_main_queue(), ^{ [NSApp orderFrontStandardAboutPanelWithOptions:infoPaneDict]; }); - RELEASEOBJ(infoPaneDict); } void SoftDlgProc() @@ -287,7 +284,7 @@ void ReadConfig(void) } - (IBAction)selectShader:(id)sender { - NSOpenPanel *openPanel = RETAINOBJ([NSOpenPanel openPanel]); + NSOpenPanel *openPanel = [NSOpenPanel openPanel]; [openPanel setAllowsMultipleSelection:NO]; [openPanel setCanChooseDirectories:NO]; [openPanel setCanChooseFiles:YES]; @@ -299,8 +296,6 @@ void ReadConfig(void) [self setFragmentPathInfo:[openPanel URL]]; } } - - RELEASEOBJ(openPanel); } - (void)loadValues @@ -310,7 +305,6 @@ void ReadConfig(void) ReadConfig(); /* load from preferences */ - RELEASEOBJ(keyValues); keyValues = [[defaults dictionaryForKey:PrefsKey] mutableCopy]; { @@ -349,17 +343,6 @@ void ReadConfig(void) [self toggleShader:shaders]; } -#if !__has_feature(objc_arc) -- (void)dealloc -{ - [vertexPath release]; - [fragmentPath release]; - [keyValues release]; - - [super dealloc]; -} -#endif - @end #import "OSXPlugLocalization.h" |
