From bc8780608ca479413dcc5ceb00e63e2c47f000c5 Mon Sep 17 00:00:00 2001 From: "G.K.MacGregor" Date: Sun, 23 Oct 2022 12:43:27 +0100 Subject: [PATCH] Force refresh when switching decode Levels This should fix palettes not updating when switching in and out of Level 3.5 --- decode.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/decode.cpp b/decode.cpp index f4c570c..5803071 100644 --- a/decode.cpp +++ b/decode.cpp @@ -68,7 +68,13 @@ void TeletextPageDecode::setLevel(int level) { if (level == m_level) return; + m_level = level; + + for (int r=0; r<25; r++) + for (int c=0; c<72; c++) + m_refresh[r][c] = true; + decodePage(); }