(nw) trs80dt1 : fixed mistake in previous commit.

This commit is contained in:
Robbbert 2017-10-26 17:36:31 +11:00
parent e860d4c871
commit dcd6e0caf1

View File

@ -295,13 +295,16 @@ I8275_DRAW_CHARACTER_MEMBER( trs80dt1_state::crtc_update_row )
linecount &= 15;
const rgb_t *palette = m_palette->palette()->entry_list_raw();
u8 gfx = (m_bow ^ lten) ? 0xff : 0;
u8 gfx = (lten) ? 0xff : 0;
if (!vsp)
gfx = m_p_chargen[linecount | (charcode << 4)];
if (rvv)
gfx ^= 0xff;
if (m_bow)
gfx ^= 0xff;
for(u8 i=0; i<8; i++)
bitmap.pix32(y, x + i) = palette[BIT(gfx, 7-i) ? (hlgt ? 2 : 1) : 0];
}