diff options
author | alexis-puska | 2016-07-03 18:22:36 +0200 |
---|---|---|
committer | alexis-puska | 2016-07-03 18:22:36 +0200 |
commit | 9a94e3a1e0ed34cfbc39a43e2066d27343388118 (patch) | |
tree | e7c21429274c044eea8b4ac36a6abb46c07919e2 | |
parent | 0b4dc26d81f4a278e0c93fea72340002d785a43a (diff) | |
download | pcsx_rearmed-9a94e3a1e0ed34cfbc39a43e2066d27343388118.tar.gz pcsx_rearmed-9a94e3a1e0ed34cfbc39a43e2066d27343388118.tar.bz2 pcsx_rearmed-9a94e3a1e0ed34cfbc39a43e2066d27343388118.zip |
pad index fix
-rw-r--r-- | libpcsxcore/plugins.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/libpcsxcore/plugins.c b/libpcsxcore/plugins.c index 9b6de03..f56afc7 100644 --- a/libpcsxcore/plugins.c +++ b/libpcsxcore/plugins.c @@ -826,11 +826,16 @@ static int LoadPAD1plugin(const char *PAD1dll) { unsigned char CALLBACK PAD2__startPoll(int pad) { reqPos = 0;
int pad_index = 0; - if(multitap2 == 2){ + if(multitap1 == 0 && multitap2 == 0){ + pad_index += 1; + }else if(multitap1 == 1 && multitap2 == 0){ + pad_index += 4; + }else if(multitap1 == 0 && multitap2 == 2){ + pad_index += 1; + }else if(multitap1 == 1 && multitap2 == 2){ pad_index += 4; - }else{ - pad_index = 1; } + //first call the pad provide if a multitap is connected between the psx and himself if(multitap2 == -1){ PadDataS padd; |