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/ConfigurationController.m | |
| parent | aca9c8411f7b86b1ee685965c70e7be682a9a4d0 (diff) | |
| download | pcsxr-a3ac4842bd5c7058b1363f7d3307f61724fc7178.tar.gz | |
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/ConfigurationController.m')
| -rwxr-xr-x | macosx/ConfigurationController.m | 21 |
1 files changed, 2 insertions, 19 deletions
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) { |
