mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
enigma2: fix off by 1 error from prev commit
This commit is contained in:
parent
bb305af46e
commit
4105641349
@ -285,7 +285,7 @@ TIMER_CALLBACK_MEMBER(enigma2_state::audio_interrupt_callback)
|
||||
{
|
||||
m_audiocpu->set_input_line(0, HOLD_LINE);
|
||||
int next_vpos = m_screen->vpos() + 16;
|
||||
m_audio_interrupt_timer->adjust(m_screen->time_until_pos(next_vpos > VTOTAL ? 8 : next_vpos));
|
||||
m_audio_interrupt_timer->adjust(m_screen->time_until_pos(next_vpos >= VTOTAL ? 8 : next_vpos));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user