summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/ef9369.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/ef9369.cpp')
-rw-r--r--src/devices/video/ef9369.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/video/ef9369.cpp b/src/devices/video/ef9369.cpp
index fa2e1eb3456..49da6402bf7 100644
--- a/src/devices/video/ef9369.cpp
+++ b/src/devices/video/ef9369.cpp
@@ -30,6 +30,7 @@ DEFINE_DEVICE_TYPE(EF9369, ef9369_device, "ef9369", "Thomson EF9369 Single Chip
ef9369_device::ef9369_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: device_t(mconfig, EF9369, tag, owner, clock)
+ , m_color_update_cb(*this)
, m_address(0)
{
std::fill(m_ca, m_ca + NUMCOLORS, 0);
@@ -45,7 +46,7 @@ ef9369_device::ef9369_device(const machine_config &mconfig, const char *tag, dev
void ef9369_device::device_start()
{
// bind delegate
- m_color_update_cb.bind_relative_to(*owner());
+ m_color_update_cb.resolve();
// register for save states
save_pointer(NAME(m_ca), NUMCOLORS);