From: kub Date: Mon, 14 Dec 2020 20:11:37 +0000 (+0100) Subject: 32x, tentative fix for pad handling X-Git-Tag: v2.00~634 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59642c52e61fdbeec8fd03391de5d1265e5fc68b;p=picodrive.git 32x, tentative fix for pad handling --- diff --git a/pico/memory.c b/pico/memory.c index d497a702..68d8c152 100644 --- a/pico/memory.c +++ b/pico/memory.c @@ -277,7 +277,10 @@ static NOINLINE u32 port_read(int i) // disables output before doing TH-low read, so don't emulate it for TH. // Decap Attack reportedly doesn't work on Nomad but works on must // other MD revisions (different pull-up strength?). - out |= 0x3f & ~ctrl_reg; + if (PicoIn.AHW & PAHW_32X) // don't do it on 32X, it breaks WWF Raw + out |= 0x7f & ~ctrl_reg; + else + out |= 0x3f & ~ctrl_reg; in = port_readers[i](i, out);