mirror of
https://github.com/holub/mame
synced 2025-05-29 00:53:09 +03:00
The 6532 RIOT timer should keep spinning after a timeout (regression introduced in 0.126u2).
This commit is contained in:
parent
52def314ff
commit
6e6098ed15
@ -182,11 +182,10 @@ static TIMER_CALLBACK( timer_end_callback )
|
||||
update_irqstate(device);
|
||||
}
|
||||
|
||||
/* if we finished finishing, switch to the idle state */
|
||||
/* if we finished finishing, keep spinning */
|
||||
else if (riot->timerstate == TIMER_FINISHING)
|
||||
{
|
||||
riot->timerstate = TIMER_IDLE;
|
||||
timer_adjust_oneshot(riot->timer, attotime_never, 0);
|
||||
timer_adjust_oneshot(riot->timer, ticks_to_attotime(256, device->clock), 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user