mirror of
https://github.com/holub/mame
synced 2025-07-03 00:56:03 +03:00
ibm6580: coverity 349280
This commit is contained in:
parent
ec30abcbb9
commit
0e804f50cd
@ -871,17 +871,11 @@ uint32_t ibm6580_state::screen_update(screen_device &screen, bitmap_ind16 &bitma
|
|||||||
ca |= (ra > 2) ? ra - 3 : 0;
|
ca |= (ra > 2) ? ra - 3 : 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// underline
|
gfx = m_p_chargen[ca | ra];
|
||||||
if (attr & 0x08 && ra == 13)
|
|
||||||
gfx = 0xff;
|
|
||||||
else
|
|
||||||
gfx = m_p_chargen[ca | ra];
|
|
||||||
|
|
||||||
// cursor
|
// underline, cursor
|
||||||
if (attr & 0x04 && ra == 14)
|
if (((attr & 0x08) && (ra == 13)) || ((attr & 0x04) && (ra == 14)))
|
||||||
gfx = 0xff;
|
gfx = 0xff;
|
||||||
else
|
|
||||||
gfx = m_p_chargen[ca | ra];
|
|
||||||
|
|
||||||
// reverse video
|
// reverse video
|
||||||
if (attr & 0x10)
|
if (attr & 0x10)
|
||||||
|
Loading…
Reference in New Issue
Block a user