mirror of
https://github.com/holub/mame
synced 2025-10-05 08:41:31 +03:00
SQ80: fixed crash on exit.
This commit is contained in:
parent
ca952b9cd5
commit
bb15b6725e
@ -203,6 +203,8 @@ void esq2x40_t::write_char(int data)
|
||||
// ESQ-1 sends (cursor move) 0xfa 0xYY to mark YY characters as underlined at the current cursor location
|
||||
if (m_lastchar == 0xfa)
|
||||
{
|
||||
if ((m_cursx + data) > m_rows)
|
||||
data = m_rows - m_cursx;
|
||||
for (int i = 0; i < data; i++)
|
||||
{
|
||||
m_attrs[m_cursy][m_cursx + i] |= AT_UNDERLINE;
|
||||
|
Loading…
Reference in New Issue
Block a user