aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
authorcbransden2016-05-09 10:39:45 +0100
committercbransden2016-05-13 18:29:27 +0100
commitace14ab3172ad90809a3cc5e8fe67d5cac9e294b (patch)
tree881e4a806d2745bb90b8caeba3918e4e155c1b06 /libpcsxcore
parent61c4962abc49e430aabea5e565d93436a57cfa0a (diff)
downloadpcsx_rearmed-ace14ab3172ad90809a3cc5e8fe67d5cac9e294b.tar.gz
pcsx_rearmed-ace14ab3172ad90809a3cc5e8fe67d5cac9e294b.tar.bz2
pcsx_rearmed-ace14ab3172ad90809a3cc5e8fe67d5cac9e294b.zip
Added multitap core option & style nits
Diffstat (limited to 'libpcsxcore')
-rw-r--r--libpcsxcore/plugins.c10
1 files changed, 1 insertions, 9 deletions
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);
}