Skip to content

Commit

Permalink
ws: fix refresh rate hint using line count of 0 (#1448)
Browse files Browse the repository at this point in the history
  • Loading branch information
asiekierka committed Apr 9, 2024
1 parent ec0b625 commit 2ad5d0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ares/ws/ppu/ppu.cpp
Expand Up @@ -218,11 +218,11 @@ auto PPU::main() -> void {
}

auto PPU::frame() -> void {
io.vcounter = 0;
io.field = !io.field;
screen->setViewport(0, 0, screen->width(), screen->height());
screen->refreshRateHint(3'072'000, 256, io.vcounter);
screen->frame();
io.vcounter = 0;
io.field = !io.field;
scheduler.exit(Event::Frame);
}

Expand Down

0 comments on commit 2ad5d0a

Please sign in to comment.