Skip to content
Snippets Groups Projects
Commit ca515cf3 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Fix blast-through glyphs for high mosaics.

The smooth mosaics aren't available with the SAA5050.
Nothing to see here.
parent acf0deb0
No related branches found
No related tags found
No related merge requests found
Pipeline #8252 failed
......@@ -4947,6 +4947,12 @@ static void prestel_fix_line(struct cterminal *cterm, int x, int y, bool restore
line[i].bg &= ~0x20000000;
fixed = true;
}
else if ((cterm->extattr & CTERM_EXTATTR_PRESTEL_MOSAIC)
&& ((line[i].ch >= 0xc0 && line[i].ch <= 0xdf))) {
// Mosaic but should be blast-through
line[i].ch &= 0x7f;
fixed = true;
}
else if((line[i].bg & 0x20000000) && ((cterm->extattr & CTERM_EXTATTR_PRESTEL_SEPARATED) == 0)) {
// Should not be separated...
line[i].bg &= ~0x20000000;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment