Merge pull request #665 from QuarkTheAwesome/libretro-merge-be
[pcsx_rearmed.git] / libpcsxcore / plugins.c
index 34f2481..87b574d 100644 (file)
@@ -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