Skip to content

Commit

Permalink
Revert "Revert "Revert "hotfix for vertical scaling"""
Browse files Browse the repository at this point in the history
This reverts commit a24f81a.
  • Loading branch information
DerKoun committed Feb 20, 2021
1 parent a24f81a commit 8374539
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bsnes/sfc/ppu-fast/line.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -351,9 +351,8 @@ auto PPU::Line::render(bool fieldID) -> void {
uint curr = 0, prev = 0;
if(hd) {
for(uint ySub : range(scale)) {
for(uint i : range((256 + 2 * ppufast.widescreen() ) * scale)) {
for(uint x : range((256 + 2 * ppufast.widescreen() ) * scale)) {
*output++ = pixel(x, above[x], below[x], ppu.widescreen(), wsm, wsma, bgFixedColors[ySub]);
x++;
}
}
} else if(width == 256) for(uint x : range(256)) {
Expand Down

0 comments on commit 8374539

Please sign in to comment.