From 9c9ee83e0474eb3659ea9dda4b0cae2853c7cd31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net> Date: Thu, 23 Jan 2025 19:41:41 -0500 Subject: [PATCH] Fix double-height separated mosaic drawing Regression introduced in 47b6f7a72f42bbbe264ecf57a09b4bcd7de4139c --- src/conio/bitmap_con.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/conio/bitmap_con.c b/src/conio/bitmap_con.c index 7095e84d21..fc1a08f526 100644 --- a/src/conio/bitmap_con.c +++ b/src/conio/bitmap_con.c @@ -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 { -- GitLab