mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
cit101: Add the other cursor-related attribute: inverse video (nw)
This commit is contained in:
parent
2fff9bbd82
commit
7414a8e270
@ -118,6 +118,8 @@ u32 cit101_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, con
|
||||
u8 char_data = m_chargen[(m_mainram[rowaddr] << 4) | line];
|
||||
if (line == 9 && BIT(attr, 0))
|
||||
char_data ^= 0xff;
|
||||
if (BIT(attr, 1))
|
||||
char_data ^= 0xff;
|
||||
for (int x = screen.visible_area().left(); x <= screen.visible_area().right(); x++)
|
||||
{
|
||||
if (x >= cliprect.left() && x <= cliprect.right())
|
||||
@ -133,6 +135,8 @@ u32 cit101_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, con
|
||||
char_data = m_chargen[(m_mainram[rowaddr] << 4) | line];
|
||||
if (line == 9 && BIT(attr, 0))
|
||||
char_data ^= 0xff;
|
||||
if (BIT(attr, 1))
|
||||
char_data ^= 0xff;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user