mirror of
https://github.com/holub/mame
synced 2025-10-04 16:34:53 +03:00
(MESS) abc806: Fixed blackness. (nw)
This commit is contained in:
parent
b75c70eb0f
commit
410adb11f8
@ -325,13 +325,13 @@ static MC6845_UPDATE_ROW( abc806_update_row )
|
||||
for (int bit = 0; bit < ABC800_CHAR_WIDTH; bit++)
|
||||
{
|
||||
int color = BIT(chargen_data, 7) ? fg_color : bg_color;
|
||||
if (!de) color = rgb_t::black;
|
||||
if (!de) color = 0;
|
||||
|
||||
bitmap.pix32(y, x++) = PALETTE_ABC[color & 0x07];
|
||||
bitmap.pix32(y, x++) = PALETTE_ABC[color];
|
||||
|
||||
if (e5 || e6)
|
||||
{
|
||||
bitmap.pix32(y, x++) = PALETTE_ABC[color & 0x07];
|
||||
bitmap.pix32(y, x++) = PALETTE_ABC[color];
|
||||
}
|
||||
|
||||
chargen_data <<= 1;
|
||||
|
Loading…
Reference in New Issue
Block a user