Force refresh when switching decode Levels

This should fix palettes not updating when switching in and out of
Level 3.5
This commit is contained in:
G.K.MacGregor
2022-10-23 12:43:27 +01:00
parent 536c231941
commit bc8780608c

View File

@@ -68,7 +68,13 @@ void TeletextPageDecode::setLevel(int level)
{ {
if (level == m_level) if (level == m_level)
return; return;
m_level = level; m_level = level;
for (int r=0; r<25; r++)
for (int c=0; c<72; c++)
m_refresh[r][c] = true;
decodePage(); decodePage();
} }