summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/adc1038.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/adc1038.cpp')
-rw-r--r--src/devices/machine/adc1038.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/machine/adc1038.cpp b/src/devices/machine/adc1038.cpp
index afdf9a2185d..3baac1fd1be 100644
--- a/src/devices/machine/adc1038.cpp
+++ b/src/devices/machine/adc1038.cpp
@@ -25,6 +25,7 @@ adc1038_device::adc1038_device(const machine_config &mconfig, const char *tag, d
, m_adc_data(0)
, m_sars(0)
, m_gticlub_hack(false)
+ , m_input_cb(*this)
{
}
@@ -34,7 +35,7 @@ adc1038_device::adc1038_device(const machine_config &mconfig, const char *tag, d
void adc1038_device::device_start()
{
- m_input_cb.bind_relative_to(*owner());
+ m_input_cb.resolve();
save_item(NAME(m_cycle));
save_item(NAME(m_clk));