mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
32x, tentative fix for pad handling
This commit is contained in:
parent
dc01e0b58d
commit
59642c52e6
1 changed files with 4 additions and 1 deletions
|
@ -277,6 +277,9 @@ 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?).
|
||||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue