summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/lc7985.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/lc7985.cpp')
-rw-r--r--src/devices/video/lc7985.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/video/lc7985.cpp b/src/devices/video/lc7985.cpp
index 40c7089385b..ef01cbb6a2c 100644
--- a/src/devices/video/lc7985.cpp
+++ b/src/devices/video/lc7985.cpp
@@ -31,7 +31,7 @@ const tiny_rom_entry *lc7985_device::device_rom_region() const
void lc7985_device::device_start()
{
m_cgrom = m_cgrom_region.found() ? m_cgrom_region : memregion("cgrom")->base();
- m_busy_timer = timer_alloc(0);
+ m_busy_timer = timer_alloc(FUNC(lc7985_device::clear_busy_flag), this);
save_item(NAME(m_ddram));
save_item(NAME(m_cgram));
@@ -66,7 +66,7 @@ void lc7985_device::busy(attotime time)
m_busy_timer->adjust(time);
}
-void lc7985_device::device_timer(emu_timer &, device_timer_id, int, void *)
+TIMER_CALLBACK_MEMBER(lc7985_device::clear_busy_flag)
{
m_busy_flag = false;
}