diff options
Diffstat (limited to 'src/devices/machine/53c810.cpp')
-rw-r--r-- | src/devices/machine/53c810.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/devices/machine/53c810.cpp b/src/devices/machine/53c810.cpp index b97999f5ad4..30fd7b08f33 100644 --- a/src/devices/machine/53c810.cpp +++ b/src/devices/machine/53c810.cpp @@ -623,6 +623,9 @@ void lsi53c810_device::add_opcode(uint8_t op, uint8_t mask, opcode_handler_deleg lsi53c810_device::lsi53c810_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : legacy_scsi_host_adapter(mconfig, LSI53C810, tag, owner, clock) + , m_irq_cb(*this) + , m_dma_cb(*this) + , m_fetch_cb(*this) { } @@ -630,9 +633,9 @@ void lsi53c810_device::device_start() { legacy_scsi_host_adapter::device_start(); - m_irq_cb.bind_relative_to(*owner()); - m_dma_cb.bind_relative_to(*owner()); - m_fetch_cb.bind_relative_to(*owner()); + m_irq_cb.resolve(); + m_dma_cb.resolve(); + m_fetch_cb.resolve(); for (auto & elem : dma_opcode) { |