RIP timer_pulse (nw)

This commit is contained in:
AJR 2017-05-20 20:33:53 -04:00
parent d7bb52bd3c
commit 092c8be896
2 changed files with 0 additions and 13 deletions

View File

@ -593,18 +593,6 @@ void device_scheduler::timer_set(const attotime &duration, timer_expired_delegat
}
//-------------------------------------------------
// timer_pulse - allocate an anonymous non-device
// timer and set it to go off at the given
// frequency
//-------------------------------------------------
void device_scheduler::timer_pulse(const attotime &period, timer_expired_delegate callback, int param, void *ptr)
{
m_timer_allocator.alloc()->init(machine(), callback, ptr, false).adjust(period, param, period);
}
//-------------------------------------------------
// timer_alloc - allocate a global device timer
// and return a pointer

View File

@ -134,7 +134,6 @@ public:
// timers, specified by callback/name
emu_timer *timer_alloc(timer_expired_delegate callback, void *ptr = nullptr);
void timer_set(const attotime &duration, timer_expired_delegate callback, int param = 0, void *ptr = nullptr);
void timer_pulse(const attotime &period, timer_expired_delegate callback, int param = 0, void *ptr = nullptr);
void synchronize(timer_expired_delegate callback = timer_expired_delegate(), int param = 0, void *ptr = nullptr) { timer_set(attotime::zero, callback, param, ptr); }
// timers, specified by device/id; generally devices should use the device_t methods instead