Skip to content

Commit

Permalink
Voodoo 1/2: Reset vblank_swap_pending when setting up Voodoo mode.
Browse files Browse the repository at this point in the history
This reduces the appearance of issue #246.
  • Loading branch information
vruppert committed Dec 30, 2024
1 parent c0585de commit 64aeb6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bochs/iodev/display/voodoo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -984,6 +984,7 @@ bool bx_voodoo_1_2_c::update_timing(void)
s.vdraw.width = v->fbi.width;
s.vdraw.height = v->fbi.height;
bx_gui->dimension_update(v->fbi.width, v->fbi.height, 0, 0, 16);
v->fbi.vblank_swap_pending = 0;
vertical_timer_handler(this);
}
v->fbi.swaps_pending = 0;
Expand Down

0 comments on commit 64aeb6d

Please sign in to comment.