From 078f1f17a03c19d58227eeaa409d67377872e89a Mon Sep 17 00:00:00 2001 From: Melissa Goad Date: Wed, 16 Nov 2016 15:43:34 -0600 Subject: [PATCH] Fix an InColor bug --- src/vid_incolor.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/vid_incolor.c b/src/vid_incolor.c index 947cdef6a..df81b1636 100644 --- a/src/vid_incolor.c +++ b/src/vid_incolor.c @@ -436,7 +436,14 @@ static void incolor_draw_char_rom(incolor_t *incolor, int x, uint8_t chr, uint8_ } /* ELG set to stretch 8px character to 9px */ - elg = ((chr >= 0xc0) && (chr <= 0xdf)); + if (incolor->crtc[INCOLOR_CRTC_XMODE] & INCOLOR_XMODE_90COL) + { + elg = 0; + } + else + { + elg = ((chr >= 0xc0) && (chr <= 0xdf)); + } fnt = &(fontdatm[chr][incolor->sc]);