summaryrefslogtreecommitdiffstats
path: root/src/mame/machine/interpro_ioga.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/interpro_ioga.cpp')
-rw-r--r--src/mame/machine/interpro_ioga.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mame/machine/interpro_ioga.cpp b/src/mame/machine/interpro_ioga.cpp
index 0ab14ca6997..22e493c4f93 100644
--- a/src/mame/machine/interpro_ioga.cpp
+++ b/src/mame/machine/interpro_ioga.cpp
@@ -194,24 +194,24 @@ void interpro_ioga_device::device_start()
}
// allocate timers
- m_interrupt_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(interpro_ioga_device::interrupt_check), this));
- m_dma_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(interpro_ioga_device::dma), this));
- m_serial_dma_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(interpro_ioga_device::serial_dma), this));
+ m_interrupt_timer = timer_alloc(FUNC(interpro_ioga_device::interrupt_check), this);
+ m_dma_timer = timer_alloc(FUNC(interpro_ioga_device::dma), this);
+ m_serial_dma_timer = timer_alloc(FUNC(interpro_ioga_device::serial_dma), this);
- m_timer0 = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(interpro_ioga_device::timer0), this));
- m_timer1 = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(interpro_ioga_device::timer1), this));
+ m_timer0 = timer_alloc(FUNC(interpro_ioga_device::timer0), this);
+ m_timer1 = timer_alloc(FUNC(interpro_ioga_device::timer1), this);
- m_timer_60hz = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(interpro_ioga_device::timer_60hz), this));
+ m_timer_60hz = timer_alloc(FUNC(interpro_ioga_device::timer_60hz), this);
- m_eth_reset_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(interpro_ioga_device::eth_reset), this));
+ m_eth_reset_timer = timer_alloc(FUNC(interpro_ioga_device::eth_reset), this);
}
void sapphire_ioga_device::device_start()
{
interpro_ioga_device::device_start();
- m_timer2 = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(sapphire_ioga_device::timer2), this));
- m_timer3 = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(sapphire_ioga_device::timer3), this));
+ m_timer2 = timer_alloc(FUNC(sapphire_ioga_device::timer2), this);
+ m_timer3 = timer_alloc(FUNC(sapphire_ioga_device::timer3), this);
}
void interpro_ioga_device::device_reset()