mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +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;
|
||||
#endif
|
||||
|
||||
// underline
|
||||
if (attr & 0x08 && ra == 13)
|
||||
gfx = 0xff;
|
||||
else
|
||||
gfx = m_p_chargen[ca | ra];
|
||||
gfx = m_p_chargen[ca | ra];
|
||||
|
||||
// cursor
|
||||
if (attr & 0x04 && ra == 14)
|
||||
// underline, cursor
|
||||
if (((attr & 0x08) && (ra == 13)) || ((attr & 0x04) && (ra == 14)))
|
||||
gfx = 0xff;
|
||||
else
|
||||
gfx = m_p_chargen[ca | ra];
|
||||
|
||||
// reverse video
|
||||
if (attr & 0x10)
|
||||
|
Loading…
Reference in New Issue
Block a user