svision.cpp: Fix build (nw)

This commit is contained in:
AJR 2018-09-07 13:58:57 -04:00
parent b89e524329
commit bd5eb0c465

View File

@ -150,11 +150,13 @@ WRITE8_MEMBER(svision_state::svision_w)
}
case 0x23: /* delta hero irq routine write */
{
int delay = (data == 0) ? 0x100 : data;
delay *= (BIT(m_reg[BANK], 4)) ? 0x4000 : 0x100;
m_svision.timer1->enable(true);
m_svision.timer1->reset(m_maincpu->cycles_to_attotime(delay);
m_svision.timer1->reset(m_maincpu->cycles_to_attotime(delay));
break;
}
case 0x10: case 0x11: case 0x12: case 0x13:
m_sound->soundport_w(0, offset & 3, data);