fix: correction emulation police erreur attribut
This commit is contained in:
parent
09e4ebbb38
commit
660ce13fdf
|
@ -1055,9 +1055,9 @@ void showchar(u16 coordx, u16 coordy, u8 thechar, u8 attrib)
|
||||||
set = pattern & 0x1;
|
set = pattern & 0x1;
|
||||||
if (set == 0)
|
if (set == 0)
|
||||||
if (vinfo->currentdepth==32)
|
if (vinfo->currentdepth==32)
|
||||||
color = egatorgb((attrib & 0xF0) >> 8);
|
color = egatorgb((attrib & 0xF0) >> 4);
|
||||||
else
|
else
|
||||||
color = egatovga((attrib & 0xF0) >> 8);
|
color = egatovga((attrib & 0xF0) >> 4);
|
||||||
else
|
else
|
||||||
if (vinfo->currentdepth==32)
|
if (vinfo->currentdepth==32)
|
||||||
color = egatorgb(attrib & 0x0F);
|
color = egatorgb(attrib & 0x0F);
|
||||||
|
|
Loading…
Reference in New Issue