Fix fine scroll wobbling in EGA when calling ega_recalctimings
Closes: GH-4072
This commit is contained in:
@@ -557,7 +557,7 @@ ega_recalctimings(ega_t *ega)
|
|||||||
overscan_x <<= 1;
|
overscan_x <<= 1;
|
||||||
|
|
||||||
ega->y_add = (overscan_y >> 1);
|
ega->y_add = (overscan_y >> 1);
|
||||||
ega->x_add = (overscan_x >> 1);
|
ega->x_add = (overscan_x >> 1) - ega->scrollcache;
|
||||||
|
|
||||||
if (ega->vres)
|
if (ega->vres)
|
||||||
ega->y_add >>= 1;
|
ega->y_add >>= 1;
|
||||||
|
Reference in New Issue
Block a user