From 2f4b260499fdd9847e0b29429577e2ac11cc4e71 Mon Sep 17 00:00:00 2001 From: OBattler Date: Mon, 5 Aug 2024 04:34:24 +0200 Subject: [PATCH] Tandy: No longer incorrectly double the line scan timings in some modes, fixes #4687. --- src/machine/m_tandy.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/machine/m_tandy.c b/src/machine/m_tandy.c index 6a9308627..6e7fdfd40 100644 --- a/src/machine/m_tandy.c +++ b/src/machine/m_tandy.c @@ -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;