Skip to content

Commit

Permalink
core, fix floating bus read for 68k (regression)
Browse files Browse the repository at this point in the history
  • Loading branch information
irixxxx committed May 18, 2024
1 parent 864ac1d commit 4167049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pico/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ u32 PicoRead16_floating(u32 a)
// faking open bus
u32 d = (Pico.m.rotate += 0x41);
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
}

Expand Down

0 comments on commit 4167049

Please sign in to comment.