mirror of
https://github.com/holub/mame
synced 2025-05-17 03:10:43 +03:00
dmv: fixed monochrome screen color. (nw)
This commit is contained in:
parent
65f75f1983
commit
daf45fc6d2
@ -315,7 +315,7 @@ UPD7220_DISPLAY_PIXELS_MEMBER( dmv_state::hgdc_display_pixels )
|
||||
for(int xi=0;xi<16;xi++)
|
||||
{
|
||||
if (bitmap.cliprect().contains(x + xi, y))
|
||||
bitmap.pix32(y, x + xi) = ((gfx >> xi) & 1) ? palette[1] : palette[0];
|
||||
bitmap.pix32(y, x + xi) = ((gfx >> xi) & 1) ? palette[2] : palette[0];
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -336,8 +336,8 @@ UPD7220_DRAW_TEXT_LINE_MEMBER( dmv_state::hgdc_draw_text )
|
||||
else
|
||||
{
|
||||
const rgb_t *palette = m_palette->palette()->entry_list_raw();
|
||||
bg = palette[(attr & 1) ? 1 : 0];
|
||||
fg = palette[(attr & 1) ? 0 : 1];
|
||||
bg = palette[(attr & 1) ? 2 : 0];
|
||||
fg = palette[(attr & 1) ? 0 : 2];
|
||||
}
|
||||
|
||||
for( int yi = 0; yi < lr; yi++)
|
||||
|
Loading…
Reference in New Issue
Block a user