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

Fix double-height separated mosaic drawing

Regression introduced in 47b6f7a7
parent 7088a459
Branches
Tags
No related merge requests found
Pipeline #7987 passed
......@@ -681,6 +681,14 @@ calc_charstate(struct blockstate *bs, struct vmem_cell *vc, struct charstate *cs
cs->double_height = true;
cs->extra_rows = -(vstat.charheight);
cs->fontoffset = (pvc->ch) * (vstat.charheight * ((bs->font_data_width + 7) / 8));
if (pvc->ch >= 160) {
if (pvc->bg & 0x20000000)
cs->sep = true;
else
cs->sep = false;
}
else
cs->sep = false;
// TODO: Update FS etc.
}
else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment