From 660ce13fdfd8b95ce45bdc3b2bf53fe97dd42fbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Hord=C3=A9?= Date: Sun, 14 Oct 2018 17:11:15 +0200 Subject: [PATCH] fix: correction emulation police erreur attribut --- lib/video.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/video.c b/lib/video.c index d7865de..65d182d 100755 --- a/lib/video.c +++ b/lib/video.c @@ -1055,9 +1055,9 @@ void showchar(u16 coordx, u16 coordy, u8 thechar, u8 attrib) set = pattern & 0x1; if (set == 0) if (vinfo->currentdepth==32) - color = egatorgb((attrib & 0xF0) >> 8); + color = egatorgb((attrib & 0xF0) >> 4); else - color = egatovga((attrib & 0xF0) >> 8); + color = egatovga((attrib & 0xF0) >> 4); else if (vinfo->currentdepth==32) color = egatorgb(attrib & 0x0F);