summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/excellent_spr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/excellent_spr.cpp')
-rw-r--r--src/mame/video/excellent_spr.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/video/excellent_spr.cpp b/src/mame/video/excellent_spr.cpp
index 15c31083183..5c4cc9f9200 100644
--- a/src/mame/video/excellent_spr.cpp
+++ b/src/mame/video/excellent_spr.cpp
@@ -26,6 +26,7 @@ excellent_spr_device::excellent_spr_device(const machine_config &mconfig, const
: device_t(mconfig, EXCELLENT_SPRITE, tag, owner, clock)
, device_gfx_interface(mconfig, *this, nullptr)
, device_video_interface(mconfig, *this)
+ , m_colpri_cb(*this)
, m_gfx_region(*this, DEVICE_SELF)
, m_colbase(0)
{
@@ -48,7 +49,7 @@ void excellent_spr_device::device_start()
};
layout_16x16x4.total = m_gfx_region->bytes() / ((16*16*4) / 8);
- m_colpri_cb.bind_relative_to(*owner());
+ m_colpri_cb.resolve();
m_ram = make_unique_clear<u8[]>(0x1000);
save_pointer(NAME(m_ram), 0x1000);