summaryrefslogtreecommitdiff
path: root/macosx/plugins/DFInput/macsrc
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-09-10 18:18:15 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-09-10 18:18:15 +0000
commita3ac4842bd5c7058b1363f7d3307f61724fc7178 (patch)
tree0e71322d034432a925cbdab2f5e92bc891d3efde /macosx/plugins/DFInput/macsrc
parentaca9c8411f7b86b1ee685965c70e7be682a9a4d0 (diff)
downloadpcsxr-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/plugins/DFInput/macsrc')
-rwxr-xr-xmacosx/plugins/DFInput/macsrc/ControllerList.m2
-rwxr-xr-xmacosx/plugins/DFInput/macsrc/PadController.m7
-rwxr-xr-xmacosx/plugins/DFInput/macsrc/PadView.m10
-rw-r--r--macosx/plugins/DFInput/macsrc/cfgHelper.m1
4 files changed, 1 insertions, 19 deletions
diff --git a/macosx/plugins/DFInput/macsrc/ControllerList.m b/macosx/plugins/DFInput/macsrc/ControllerList.m
index a88058bc..ed486314 100755
--- a/macosx/plugins/DFInput/macsrc/ControllerList.m
+++ b/macosx/plugins/DFInput/macsrc/ControllerList.m
@@ -20,7 +20,6 @@
*/
#import "ControllerList.h"
-#import "ARCBridge.h"
#include "pad.h"
#include "cfg.h"
@@ -63,7 +62,6 @@ static NSArray *labelText;
[plugBundle localizedStringForKey:@"R-Stick Left" value:@"" table:nil],
[plugBundle localizedStringForKey:@"R-Stick Down" value:@"" table:nil],
[plugBundle localizedStringForKey:@"R-Stick Up" value:@"" table:nil]];
- RETAINOBJNORETURN(labelText);
});
}
return self;
diff --git a/macosx/plugins/DFInput/macsrc/PadController.m b/macosx/plugins/DFInput/macsrc/PadController.m
index 91f0baf0..f667717a 100755
--- a/macosx/plugins/DFInput/macsrc/PadController.m
+++ b/macosx/plugins/DFInput/macsrc/PadController.m
@@ -21,7 +21,6 @@
#import <Cocoa/Cocoa.h>
#import "PadController.h"
-#import "ARCBridge.h"
#include "pad.h"
static inline void RunOnMainThreadSync(dispatch_block_t block)
@@ -330,8 +329,6 @@ void SavePADConfig()
pad2Dict, kDFPad2,
nil] forKey:PrefsKey];
[defaults synchronize];
- RELEASEOBJ(pad1Dict);
- RELEASEOBJ(pad2Dict);
}
void DoAbout()
@@ -345,9 +342,8 @@ void DoAbout()
if (path) {
credits = [[NSAttributedString alloc] initWithPath: path
documentAttributes:NULL];
- AUTORELEASEOBJNORETURN(credits);
} else {
- credits = AUTORELEASEOBJ([[NSAttributedString alloc] initWithString:@""]);
+ credits = [[NSAttributedString alloc] initWithString:@""];
}
// Get Application Icon
@@ -367,7 +363,6 @@ void DoAbout()
dispatch_async(dispatch_get_main_queue(), ^{
[NSApp orderFrontStandardAboutPanelWithOptions:infoPaneDict];
});
- RELEASEOBJ(infoPaneDict);
}
long DoConfiguration()
diff --git a/macosx/plugins/DFInput/macsrc/PadView.m b/macosx/plugins/DFInput/macsrc/PadView.m
index 7cafa4b1..f8936888 100755
--- a/macosx/plugins/DFInput/macsrc/PadView.m
+++ b/macosx/plugins/DFInput/macsrc/PadView.m
@@ -20,7 +20,6 @@
*/
#import "PadView.h"
-#import "ARCBridge.h"
#include "pad.h"
@implementation PadView
@@ -34,14 +33,6 @@
return self;
}
-#if !__has_feature(objc_arc)
-- (void)dealloc
-{
- [controller release];
- [super dealloc];
-}
-#endif
-
- (void)drawRect:(NSRect)rect
{
}
@@ -80,7 +71,6 @@
#endif
[joystickItem setTag:i + 1];
[[deviceMenu menu] addItem:joystickItem];
- RELEASEOBJ(joystickItem);
}
if (g.cfg.PadDef[which].DevNum >= SDL_NumJoysticks()) {
diff --git a/macosx/plugins/DFInput/macsrc/cfgHelper.m b/macosx/plugins/DFInput/macsrc/cfgHelper.m
index e15a9a1e..406252fc 100644
--- a/macosx/plugins/DFInput/macsrc/cfgHelper.m
+++ b/macosx/plugins/DFInput/macsrc/cfgHelper.m
@@ -7,7 +7,6 @@
//
#import <Foundation/Foundation.h>
-#import "ARCBridge.h"
#import "PadController.h"
#include "cfg.h"