Skip to content

Commit

Permalink
md: adjust alignment between H32 and H40 lines
Browse files Browse the repository at this point in the history
  • Loading branch information
TascoDLX committed Feb 3, 2025
1 parent e072aa5 commit ecd8cc7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ares/md/vdp/vdp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,10 @@ auto VDP::pixels() -> u32* {

if(h40()) {
// H40 mode has slightly shorter lines, so sides are blanked.
// Left side would be 13 wide, but we'll realign to whole pixel (3*4) for sanity.
for(auto n: range(12)) output[ n] = 0b101 << 9;
for(auto n: range(15)) output[1415-15+n] = 0b101 << 9;
for(auto n: range(13)) output[ n] = 0b101 << 9;
for(auto n: range(14)) output[1415-14+n] = 0b101 << 9;

return output+12;
return output+13;
}

return output;
Expand Down

0 comments on commit ecd8cc7

Please sign in to comment.