summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/macpds/pds_tpdfpd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/macpds/pds_tpdfpd.cpp')
-rw-r--r--src/devices/bus/macpds/pds_tpdfpd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/macpds/pds_tpdfpd.cpp b/src/devices/bus/macpds/pds_tpdfpd.cpp
index 2b0ca60c281..c6eeb68c466 100644
--- a/src/devices/bus/macpds/pds_tpdfpd.cpp
+++ b/src/devices/bus/macpds/pds_tpdfpd.cpp
@@ -114,7 +114,7 @@ void macpds_sedisplay_device::device_start()
m_macpds->install_device(0x770000, 0x77000f, read16s_delegate(*this, FUNC(macpds_sedisplay_device::ramdac_r)), write16s_delegate(*this, FUNC(macpds_sedisplay_device::ramdac_w)));
m_macpds->install_device(0xc10000, 0xc2ffff, read16sm_delegate(*this, FUNC(macpds_sedisplay_device::sedisplay_r)), write16sm_delegate(*this, FUNC(macpds_sedisplay_device::sedisplay_w)));
- m_timer = timer_alloc(0, nullptr);
+ m_timer = timer_alloc(FUNC(macpds_sedisplay_device::vbl_tick), this);
m_timer->adjust(screen().time_until_pos(879, 0), 0);
}
@@ -135,7 +135,7 @@ void macpds_sedisplay_device::device_reset()
}
-void macpds_sedisplay_device::device_timer(emu_timer &timer, device_timer_id tid, int param, void *ptr)
+TIMER_CALLBACK_MEMBER(macpds_sedisplay_device::vbl_tick)
{
if (!m_vbl_disable)
{