Previous 199869 Revisions Next

r31207 Sunday 6th July, 2014 at 21:55:10 UTC by Oliver Stöneberg
small optimization to scc8530_t::device_timer() (nw)
[src/emu/machine]8530scc.c

trunk/src/emu/machine/8530scc.c
r31206r31207
142142   // reset timer according to current register values
143143   if (rate)
144144   {
145      timer.adjust(attotime::from_hz(rate), 0, attotime::from_hz(rate));
145      attotime attorate = attotime::from_hz(rate);
146      timer.adjust(attorate, 0, attorate);
146147   }
147148   else
148149   {

Previous 199869 Revisions Next


© 1997-2024 The MAME Team