summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/k051316.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/k051316.cpp')
-rw-r--r--src/mame/video/k051316.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/video/k051316.cpp b/src/mame/video/k051316.cpp
index cd64d89ac64..411a7c26c3a 100644
--- a/src/mame/video/k051316.cpp
+++ b/src/mame/video/k051316.cpp
@@ -153,6 +153,9 @@ void k051316_device::device_start()
if (!palette().device().started())
throw device_missing_dependencies();
+ // bind callbacks
+ m_k051316_cb.resolve();
+
decode_gfx();
gfx(0)->set_colors(palette().entries() / gfx(0)->depth());
@@ -168,9 +171,6 @@ void k051316_device::device_start()
else
m_tmap->set_transparent_pen(0);
- // bind callbacks
- m_k051316_cb.resolve();
-
save_item(NAME(m_ram));
save_item(NAME(m_ctrlram));
save_item(NAME(m_wrap));