mirror of
https://github.com/86Box/86Box.git
synced 2026-02-22 09:35:32 -07:00
Bochs VBE: Simplify horizontal blank end calculation.
This commit is contained in:
@@ -319,7 +319,7 @@ bochs_vbe_recalctimings(svga_t* svga)
|
||||
svga->vtotal = mode.vtotal;
|
||||
svga->htotal = mode.htotal;
|
||||
svga->hblankstart = mode.hdisplay;
|
||||
svga->hblankend = mode.hdisplay + (mode.htotal - mode.hdisplay - 1);
|
||||
svga->hblankend = mode.htotal - 1;
|
||||
svga->vblankstart = svga->dispend; /* no vertical overscan. */
|
||||
svga->rowcount = 0;
|
||||
svga->hoverride = 1;
|
||||
|
||||
Reference in New Issue
Block a user