Fix fine scroll wobbling in EGA when calling ega_recalctimings

Closes: GH-4072
This commit is contained in:
GreaseMonkey 2024-01-23 17:03:33 +13:00
parent 9844cbc245
commit e5000f7419

View file

@ -557,7 +557,7 @@ ega_recalctimings(ega_t *ega)
overscan_x <<= 1;
ega->y_add = (overscan_y >> 1);
ega->x_add = (overscan_x >> 1);
ega->x_add = (overscan_x >> 1) - ega->scrollcache;
if (ega->vres)
ega->y_add >>= 1;