32x, tentative fix for pad handling

This commit is contained in:
kub 2020-12-14 21:11:37 +01:00
parent dc01e0b58d
commit 59642c52e6

View file

@ -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);