From 59642c52e61fdbeec8fd03391de5d1265e5fc68b Mon Sep 17 00:00:00 2001 From: kub Date: Mon, 14 Dec 2020 21:11:37 +0100 Subject: [PATCH] 32x, tentative fix for pad handling --- pico/memory.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); -- 2.39.2