From 98f9382fb8307e539091454392ca658648f722b8 Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Sat, 12 Nov 2011 20:07:20 +0000 Subject: Big Mac Commit! Updating plug-ins to use Release instead of Debug for command line building. Update to use 64-bit safe datatypes (NSInteger where needed). Getting rid of no longer used variables in the Xcode projects. Making a Localizable.strings file. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72225 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/plugins/DFInput/macsrc/ControllerList.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'macosx/plugins/DFInput/macsrc/ControllerList.m') diff --git a/macosx/plugins/DFInput/macsrc/ControllerList.m b/macosx/plugins/DFInput/macsrc/ControllerList.m index 578898c3..db25d2f2 100644 --- a/macosx/plugins/DFInput/macsrc/ControllerList.m +++ b/macosx/plugins/DFInput/macsrc/ControllerList.m @@ -50,7 +50,7 @@ static int currentController; } /* NSDataSource */ -- (int)numberOfRowsInTableView:(NSTableView *)aTableView +- (NSInteger)numberOfRowsInTableView:(NSTableView *)aTableView { return DKEY_TOTAL + (g.cfg.PadDef[currentController].Type == PSE_PAD_TYPE_ANALOGPAD ? 8 : -3); } @@ -109,7 +109,7 @@ static const int DPad[DKEY_TOTAL] = { } - (id)tableView:(NSTableView *)aTableView objectValueForTableColumn:(NSTableColumn *)aTableColumn - row:(int)rowIndex + row:(NSInteger)rowIndex { char buf[256]; @@ -128,7 +128,7 @@ static const int DPad[DKEY_TOTAL] = { } } -- (void)deleteRow:(int)which +- (void)deleteRow:(NSInteger)which { if (which < DKEY_TOTAL) { g.cfg.PadDef[currentController].KeyDef[DPad[which]].Key = 0; -- cgit v1.2.3