diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-08-30 02:17:17 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-08-30 02:17:17 +0000 |
| commit | 6ddb90bd884bf64b2c24011460085ec186b4c6e7 (patch) | |
| tree | 9f5ccccda7384c67ab08518d8023fb1057325dff /macosx/PcsxrMemCardController.m | |
| parent | ebafaceb5b5d75b102474ab49e7489fd68cb71d7 (diff) | |
| download | pcsxr-6ddb90bd884bf64b2c24011460085ec186b4c6e7.tar.gz | |
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
Diffstat (limited to 'macosx/PcsxrMemCardController.m')
| -rwxr-xr-x | macosx/PcsxrMemCardController.m | 18 |
1 files changed, 3 insertions, 15 deletions
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; } |
