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 --- macosx/ConfigurationController.m | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) (limited to 'macosx/ConfigurationController.m') diff --git a/macosx/ConfigurationController.m b/macosx/ConfigurationController.m index 67b61192..f21f13e7 100755 --- a/macosx/ConfigurationController.m +++ b/macosx/ConfigurationController.m @@ -6,7 +6,6 @@ #import "PcsxrMemCardHandler.h" #include "psxcommon.h" #include "plugins.h" -#import "ARCBridge.h" NSString *const memChangeNotifier = @"PcsxrMemoryCardDidChangeNotifier"; NSString *const memCardChangeNumberKey = @"PcsxrMemoryCardThatChangedKey"; @@ -62,7 +61,7 @@ NSString *const memCardChangeNumberKey = @"PcsxrMemoryCardThatChangedKey"; { NSInteger tag = [sender tag]; char *mcd; - NSOpenPanel *openDlg = RETAINOBJ([NSOpenPanel openPanel]); + NSOpenPanel *openDlg = [NSOpenPanel openPanel]; NSString *path; if (tag == 1) { @@ -85,14 +84,13 @@ NSString *const memCardChangeNumberKey = @"PcsxrMemoryCardThatChangedKey"; [ConfigurationController setMemoryCard:tag toURL:mcdURL]; } - RELEASEOBJ(openDlg); } + (void)mcdNewClicked:(id)sender { NSInteger tag = [sender tag]; char *mcd; - NSSavePanel *openDlg = RETAINOBJ([NSSavePanel savePanel]); + NSSavePanel *openDlg = [NSSavePanel savePanel]; NSString *path; if (tag == 1) { @@ -116,7 +114,6 @@ NSString *const memCardChangeNumberKey = @"PcsxrMemoryCardThatChangedKey"; [ConfigurationController setMemoryCard:tag toURL:mcdURL]; } - RELEASEOBJ(openDlg); } - (IBAction)setVideoType:(id)sender @@ -184,11 +181,6 @@ NSString *const memCardChangeNumberKey = @"PcsxrMemoryCardThatChangedKey"; [usesHleCell setEnabled:NO]; } -#ifdef __i386__ - //OS X on i386 doesn't like the dynarec core - [usesDynarecCell setState:NSOffState]; - [usesDynarecCell setEnabled:NO]; -#endif // setup labels @@ -220,15 +212,6 @@ NSString *const memCardChangeNumberKey = @"PcsxrMemoryCardThatChangedKey"; [hkController initialize]; } -#if !__has_feature(objc_arc) -- (void)dealloc -{ - [checkBoxDefaults release]; - - [super dealloc]; -} -#endif - - (NSString *)keyForSender:(id)sender { for (NSString *key in checkBoxDefaults) { -- cgit v1.2.3