From 7c3fa52a3f9ccd4cae41440556b44ea920cd1d09 Mon Sep 17 00:00:00 2001 From: David Kuder Date: Sat, 22 Apr 2023 03:47:38 -0400 Subject: [PATCH] monochrome bit test fix Fix for issue: https://github.com/V2RetroComputing/analog/issues/15 --- vga/render_dhgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vga/render_dhgr.c b/vga/render_dhgr.c index 386291d..ed5d67d 100644 --- a/vga/render_dhgr.c +++ b/vga/render_dhgr.c @@ -103,7 +103,7 @@ static void DELAYED_COPY_CODE(render_dhgr_line)(bool p2, uint line) { dots |= (line_mema[i] & 0x7f) << 25; i++; - if(soft_switches & SOFTSW_MONOCHROME) { + if((soft_switches & SOFTSW_MONOCHROME) || (mono_palette & 0x8)) { // Consume 8 pixels (32 subpixel bits) for(j = 0; j < 16; j++) { pixeldata = ((dots & 1) ? (text_fore) : (text_back));