mirror of
https://github.com/holub/mame
synced 2025-04-24 01:11:11 +03:00
(nw) trs80dt1 : fixed mistake in previous commit.
This commit is contained in:
parent
e860d4c871
commit
dcd6e0caf1
@ -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];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user