Skip to content

Commit

Permalink
Voodoo3: Fixed 16-bit mem write to LFB for (offset & 2) != 0.
Browse files Browse the repository at this point in the history
This should fix issue #438.
  • Loading branch information
vruppert committed Dec 30, 2024
1 parent 7af21c2 commit c0585de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bochs/iodev/display/banshee.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1536,6 +1536,7 @@ void bx_banshee_c::mem_write(bx_phy_address addr, unsigned len, void *data)
mask = 0x0000ffff;
} else {
mask = 0xffff0000;
value <<= 16;
}
}
lfb_w((offset & v->fbi.mask) >> 2, value, mask);
Expand Down

0 comments on commit c0585de

Please sign in to comment.