summaryrefslogtreecommitdiff
path: root/macosx/PcsxrMemCardController.m
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-07-08 07:26:30 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-07-08 07:26:30 +0000
commit7feee6f616e56e96cccdee173abb994a6d0bf91c (patch)
treec7c4e0c243b93eae9ecd0a23e011aac412ab1fec /macosx/PcsxrMemCardController.m
parent673809f1f115c90558b87df1529f9e3c9acc1270 (diff)
downloadpcsxr-7feee6f616e56e96cccdee173abb994a6d0bf91c.tar.gz
Various updates and improvements to OS X code.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85894 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/PcsxrMemCardController.m')
-rwxr-xr-xmacosx/PcsxrMemCardController.m13
1 files changed, 7 insertions, 6 deletions
diff --git a/macosx/PcsxrMemCardController.m b/macosx/PcsxrMemCardController.m
index 00d77ca7..24cba060 100755
--- a/macosx/PcsxrMemCardController.m
+++ b/macosx/PcsxrMemCardController.m
@@ -25,8 +25,6 @@
@synthesize memCard1Array, memCard2Array;
-//memCard1Array KVO functions
-
- (void)setupValues:(int)theCards
{
NSParameterAssert(theCards < 4 && theCards > 0);
@@ -244,11 +242,14 @@
[[NSNotificationCenter defaultCenter] removeObserver:self];
[imageAnimateTimer invalidate];
- RELEASEOBJ(imageAnimateTimer);
- RELEASEOBJ(memCard1Array);
- RELEASEOBJ(memCard2Array);
+#if !__has_feature(objc_arc)
+
+ [imageAnimateTimer release];
+ self.memCard1Array = nil;
+ self.memCard2Array = nil;
- SUPERDEALLOC;
+ [super dealloc];
+#endif
}
@end