ati: Fix ver_blank calculation.

This commit is contained in:
joevt 2024-04-25 05:48:58 -07:00 committed by dingusdev
parent 11d61359c1
commit 3483bebdb4
2 changed files with 2 additions and 2 deletions

View File

@ -688,7 +688,7 @@ void AtiMach64Gx::crtc_update()
uint32_t new_vert_blank = new_vtotal - new_height;
if (new_vert_blank != this->vert_blank) {
this->vert_blank = vert_blank;
this->vert_blank = new_vert_blank;
need_recalc = true;
}

View File

@ -724,7 +724,7 @@ void ATIRage::crtc_update() {
uint32_t new_vert_blank = new_vtotal - new_height;
if (new_vert_blank != this->vert_blank) {
this->vert_blank = vert_blank;
this->vert_blank = new_vert_blank;
need_recalc = true;
}