mirror of
https://github.com/holub/mame
synced 2025-04-23 17:00:53 +03:00
(nw) svision: fix timing regression from 2cdb153103 (diff-ce212c2688966534e4eafe90ab9f47b1L153)
This commit is contained in:
parent
40f4b4f73e
commit
f20a2a5c6d
@ -150,11 +150,10 @@ 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);
|
||||
if (BIT(m_reg[BANK], 4))
|
||||
m_svision.timer1->reset(m_maincpu->cycles_to_attotime(0x100 * 0x4000));
|
||||
else
|
||||
m_svision.timer1->reset(m_maincpu->cycles_to_attotime(0x100 * 0x100));
|
||||
m_svision.timer1->reset(m_maincpu->cycles_to_attotime(delay);
|
||||
break;
|
||||
|
||||
case 0x10: case 0x11: case 0x12: case 0x13:
|
||||
|
Loading…
Reference in New Issue
Block a user