Skip to content

Commit

Permalink
PPU: fix horizontal window for real (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
fleroviux committed Aug 29, 2022
1 parent a348f87 commit 2868db5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/nba/src/hw/ppu/ppu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,8 @@ void PPU::SyncWindow(int id) {

int x0 = window.x;

hcounter = std::max(hcounter, 48);

while (hcounter <= hcounter_target) {
bool active = window.flag_h;

Expand Down

0 comments on commit 2868db5

Please sign in to comment.