mirror of
https://github.com/holub/mame
synced 2025-04-29 03:20:50 +03:00
small optimization to scc8530_t::device_timer() (nw)
This commit is contained in:
parent
b026ca42e2
commit
598632ebfa
@ -142,7 +142,8 @@ void scc8530_t::device_timer(emu_timer &timer, device_timer_id id, int param, vo
|
|||||||
// reset timer according to current register values
|
// reset timer according to current register values
|
||||||
if (rate)
|
if (rate)
|
||||||
{
|
{
|
||||||
timer.adjust(attotime::from_hz(rate), 0, attotime::from_hz(rate));
|
attotime attorate = attotime::from_hz(rate);
|
||||||
|
timer.adjust(attorate, 0, attorate);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user