X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fplugins.c;h=34f2481291c61c31da6f01ec5a5b0f46d670fa8e;hb=73817437ddebaf6d53a401d723d4c8f6971829a7;hp=a2f8fe27503b06ceda0201ffb6b53e9badbe6ed8;hpb=9fb3178968e3cf83b9c0835aa4b39805b2ba6cf8;p=pcsx_rearmed.git diff --git a/libpcsxcore/plugins.c b/libpcsxcore/plugins.c index a2f8fe27..34f24812 100644 --- a/libpcsxcore/plugins.c +++ b/libpcsxcore/plugins.c @@ -776,7 +776,11 @@ unsigned char _PADpoll(int port, unsigned char value) { } //if no new request the pad return 0xff, for signaling connected - if (reqPos >= respSize) return 0xff; + if (reqPos >= respSize +#ifdef ICACHE_EMULATION + && writeok +#endif + ) return 0xff; switch(reqPos){ case 2: