summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/pcd8544.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/pcd8544.cpp')
-rw-r--r--src/devices/video/pcd8544.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/devices/video/pcd8544.cpp b/src/devices/video/pcd8544.cpp
index 0cca6742b05..b0592592509 100644
--- a/src/devices/video/pcd8544.cpp
+++ b/src/devices/video/pcd8544.cpp
@@ -31,7 +31,8 @@ DEFINE_DEVICE_TYPE(PCD8544, pcd8544_device, "pcd8544_device", "Philips PCD8544 L
//-------------------------------------------------
pcd8544_device::pcd8544_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
- device_t(mconfig, PCD8544, tag, owner, clock)
+ device_t(mconfig, PCD8544, tag, owner, clock),
+ m_screen_update_cb(*this)
{
}
@@ -41,7 +42,7 @@ pcd8544_device::pcd8544_device(const machine_config &mconfig, const char *tag, d
void pcd8544_device::device_start()
{
- m_screen_update_cb.bind_relative_to(*owner());
+ m_screen_update_cb.resolve();
// state saving
save_item(NAME(m_sdin));