From a3ac4842bd5c7058b1363f7d3307f61724fc7178 Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Tue, 10 Sep 2013 18:18:15 +0000 Subject: Remove 32-bit support on OS X. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87114 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- .../DFXVideo/macsrc/PluginConfigController.m | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) (limited to 'macosx/plugins/DFXVideo/macsrc/PluginConfigController.m') 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" -- cgit v1.2.3