mirror of
https://github.com/holub/mame
synced 2025-05-02 04:31:01 +03:00
removed now obsolete modification for FASTDEBUG=1 (nw)
This commit is contained in:
parent
1957bc420d
commit
d716c757cb
@ -451,9 +451,7 @@ void device_scheduler::timeslice()
|
|||||||
attoseconds_t delta = target.attoseconds - exec->m_localtime.attoseconds;
|
attoseconds_t delta = target.attoseconds - exec->m_localtime.attoseconds;
|
||||||
if (delta < 0 && target.seconds > exec->m_localtime.seconds)
|
if (delta < 0 && target.seconds > exec->m_localtime.seconds)
|
||||||
delta += ATTOSECONDS_PER_SECOND;
|
delta += ATTOSECONDS_PER_SECOND;
|
||||||
#ifndef MAME_DEBUG_FAST
|
|
||||||
assert(delta == (target - exec->m_localtime).as_attoseconds());
|
assert(delta == (target - exec->m_localtime).as_attoseconds());
|
||||||
#endif
|
|
||||||
|
|
||||||
// if we have enough for at least 1 cycle, do the math
|
// if we have enough for at least 1 cycle, do the math
|
||||||
if (delta >= exec->m_attoseconds_per_cycle)
|
if (delta >= exec->m_attoseconds_per_cycle)
|
||||||
|
Loading…
Reference in New Issue
Block a user