mirror of
https://github.com/holub/mame
synced 2025-04-26 02:07:14 +03:00
Fix timer_pulse. Better would be not to use it at all, though.
This commit is contained in:
parent
89d42d492b
commit
fb8cb1384e
@ -586,7 +586,7 @@ void device_scheduler::timer_set(attotime duration, timer_expired_func callback,
|
||||
|
||||
void device_scheduler::timer_pulse(attotime period, timer_expired_func callback, const char *name, int param, void *ptr)
|
||||
{
|
||||
m_timer_allocator.alloc()->init(m_machine, callback, name, ptr, true).adjust(period, param, period);
|
||||
m_timer_allocator.alloc()->init(m_machine, callback, name, ptr, false).adjust(period, param, period);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user