From ba2d1241d08e1577e6e389523d18827b64ba4002 Mon Sep 17 00:00:00 2001 From: "G.K.MacGregor" Date: Sun, 6 Aug 2023 16:49:44 +0100 Subject: [PATCH] Fix flashing rows with mixed 1Hz and 2Hz rates --- render.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/render.cpp b/render.cpp index 87cc7d3..d5b6033 100644 --- a/render.cpp +++ b/render.cpp @@ -280,7 +280,7 @@ void TeletextPageRender::renderRow(int r, int ph, bool force) if (ph == 0) { if (m_decoder->cellFlashMode(r, c) != 0) - flashingRow = (m_decoder->cellFlashRatePhase(r, c) == 0) ? 1 : 2; + flashingRow = qMax(flashingRow, (m_decoder->cellFlashRatePhase(r, c) == 0) ? 1 : 2); } else force = m_decoder->cellFlashMode(r, c) != 0;