From ace14ab3172ad90809a3cc5e8fe67d5cac9e294b Mon Sep 17 00:00:00 2001 From: cbransden Date: Mon, 9 May 2016 10:39:45 +0100 Subject: Added multitap core option & style nits --- libpcsxcore/plugins.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'libpcsxcore') diff --git a/libpcsxcore/plugins.c b/libpcsxcore/plugins.c index 3f8a09c..372fdd0 100644 --- a/libpcsxcore/plugins.c +++ b/libpcsxcore/plugins.c @@ -380,7 +380,6 @@ unsigned char multitappar[35] = { 0x00, 0x80, 0x5a, 0x41, 0x5a, 0xff, 0xff, 0xff static int bufcount, bufc; //PadDataS padd1, padd2; - unsigned char _PADstartPollPort1(PadDataS padd[4]) { int i=0; int decallage=2; @@ -447,9 +446,6 @@ unsigned char _PADstartPollPort1(PadDataS padd[4]) { return buf[bufc++]; } - - - unsigned char _PADstartPoll(PadDataS *pad) { bufc = 0; @@ -508,13 +504,9 @@ unsigned char _PADstartPoll(PadDataS *pad) { bufcount = 4; } - return buf[bufc++]; } - - - unsigned char _PADpoll(unsigned char value) { if (bufc > bufcount) return 0; return buf[bufc++]; @@ -599,7 +591,7 @@ static int LoadPAD1plugin(const char *PAD1dll) { unsigned char CALLBACK PAD2__startPoll(int pad) { PadDataS padd; - PAD2_readPort2(&padd); + PAD2_readPort2(&padd); return _PADstartPoll(&padd); } -- cgit v1.2.3