From 7feee6f616e56e96cccdee173abb994a6d0bf91c Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Mon, 8 Jul 2013 07:26:30 +0000 Subject: Various updates and improvements to OS X code. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85894 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/PcsxrMemCardController.m | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'macosx/PcsxrMemCardController.m') 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 -- cgit v1.2.3