mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 23:58:04 -04:00
core, fix floating bus read for 68k (regression)
This commit is contained in:
parent
864ac1d6a6
commit
4167049666
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ u32 PicoRead16_floating(u32 a)
|
||||||
// faking open bus
|
// faking open bus
|
||||||
u32 d = (Pico.m.rotate += 0x41);
|
u32 d = (Pico.m.rotate += 0x41);
|
||||||
d ^= (d << 5) ^ (d << 8);
|
d ^= (d << 5) ^ (d << 8);
|
||||||
if ((a & 0xff0000) == 0xa10000) d = 0; // MegaCD pulldowns don't work here curiously
|
if ((a & 0xff0000) == 0xa10000) return d; // MegaCD pulldowns don't work here curiously
|
||||||
return (PicoIn.AHW & PAHW_MCD) ? 0x00 : d; // pulldown if MegaCD2 attached
|
return (PicoIn.AHW & PAHW_MCD) ? 0x00 : d; // pulldown if MegaCD2 attached
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue