Tandy: No longer incorrectly double the line scan timings in some modes, fixes #4687.

This commit is contained in:
OBattler
2024-08-05 04:34:24 +02:00
parent 28c1e7b8fb
commit 2f4b260499

View File

@@ -715,13 +715,8 @@ recalc_timings(tandy_t *dev)
double _dispofftime;
double disptime;
if (vid->mode & 1) {
disptime = vid->crtc[0] + 1;
_dispontime = vid->crtc[1];
} else {
disptime = (vid->crtc[0] + 1) << 1;
_dispontime = vid->crtc[1] << 1;
}
disptime = vid->crtc[0] + 1;
_dispontime = vid->crtc[1];
_dispofftime = disptime - _dispontime;
_dispontime *= CGACONST;