Skip to content

Commit

Permalink
md: unused bits of 0xa1518a should be set to 0 for m32x
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeUsher committed Mar 24, 2024
1 parent 0c8eaf0 commit 3e49ceb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ares/md/m32x/io-external.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ auto M32X::readExternalIO(n1 upper, n1 lower, n24 address, n16 data) -> n16 {
if(address == 0xa1518a) {
data.bit( 0) = vdp.framebufferActive;
data.bit( 1) = MegaDrive::vdp.refreshing(); //framebuffer access
data.bit( 2, 12) = 0;
data.bit(13) = vdp.vblank || vdp.hblank; //palette access
data.bit(14) = vdp.hblank;
data.bit(15) = vdp.vblank;
Expand Down

0 comments on commit 3e49ceb

Please sign in to comment.