From 6ddb90bd884bf64b2c24011460085ec186b4c6e7 Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Fri, 30 Aug 2013 02:17:17 +0000 Subject: Better prefs managing on the main app. Moving a few things around on the Mac side of the plug-ins. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87025 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/PcsxrMemCardController.m | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'macosx/PcsxrMemCardController.m') diff --git a/macosx/PcsxrMemCardController.m b/macosx/PcsxrMemCardController.m index c204e575..b07be20a 100755 --- a/macosx/PcsxrMemCardController.m +++ b/macosx/PcsxrMemCardController.m @@ -22,8 +22,8 @@ @end @implementation PcsxrMemCardController - -@synthesize memCard1Array, memCard2Array; +@synthesize memCard1Array; +@synthesize memCard2Array; - (void)setupValues:(int)theCards { @@ -59,18 +59,6 @@ } } -#if 0 -- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil; -{ - self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; - if (self) { - //LoadMcds(Config.Mcd1, Config.Mcd2); - } - - return self; -} -#endif - - (void)loadMemoryCardInfoForCard:(int)theCard { PcsxrMemCardArray *newArray = [[PcsxrMemCardArray alloc] initWithMemoryCardNumber:theCard]; @@ -125,7 +113,7 @@ cardnum = 2; } selection = [cardView selectionIndexes]; - if (!selection || [selection count] == 0) { + if (!selection || [selection count] != 1) { NSBeep(); return; } -- cgit v1.2.3