X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fplugins.c;h=87b574d442a7895dcf08ae3954ab412b28484496;hb=6fe8a1d4501485790b5a58f1a4c62130dd70afb4;hp=34f2481291c61c31da6f01ec5a5b0f46d670fa8e;hpb=7a8117168d6b9ad083757e013049c0e45734f3fb;p=pcsx_rearmed.git diff --git a/libpcsxcore/plugins.c b/libpcsxcore/plugins.c index 34f24812..87b574d4 100644 --- a/libpcsxcore/plugins.c +++ b/libpcsxcore/plugins.c @@ -777,9 +777,7 @@ unsigned char _PADpoll(int port, unsigned char value) { //if no new request the pad return 0xff, for signaling connected if (reqPos >= respSize -#ifdef ICACHE_EMULATION && writeok -#endif ) return 0xff; switch(reqPos){ @@ -795,8 +793,7 @@ unsigned char _PADpoll(int port, unsigned char value) { //mem the vibration value for Large motor; pad[port].Vib[1] = value; - if (in_type[port] == PSE_PAD_TYPE_STANDARD && - in_type[port] == PSE_PAD_TYPE_NEGCON) + if (in_type[port] != PSE_PAD_TYPE_ANALOGPAD) break; //vibration