X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fplugins.c;h=34f2481291c61c31da6f01ec5a5b0f46d670fa8e;hb=9cc1b6c9786f625bcbb130671f8c6f5351ff609e;hp=a2f8fe27503b06ceda0201ffb6b53e9badbe6ed8;hpb=d526ed8c645d7e2147b7d454f29d123b4cfa311d;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: