summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/k051960.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/k051960.cpp')
-rw-r--r--src/mame/video/k051960.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/video/k051960.cpp b/src/mame/video/k051960.cpp
index 580801717c7..2657331e441 100644
--- a/src/mame/video/k051960.cpp
+++ b/src/mame/video/k051960.cpp
@@ -181,6 +181,9 @@ void k051960_device::device_start()
if (!palette().device().started())
throw device_missing_dependencies();
+ // bind callbacks
+ m_k051960_cb.resolve();
+
// allocate scanline timer and start at first scanline
m_scanline_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(k051960_device::scanline_callback), this));
m_scanline_timer->adjust(screen().time_until_pos(0));
@@ -193,9 +196,6 @@ void k051960_device::device_start()
m_ram = make_unique_clear<uint8_t[]>(0x400);
- // bind callbacks
- m_k051960_cb.resolve();
-
// resolve callbacks
m_irq_handler.resolve_safe();
m_firq_handler.resolve_safe();