summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/mb89352.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/mb89352.h')
-rw-r--r--src/devices/machine/mb89352.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/devices/machine/mb89352.h b/src/devices/machine/mb89352.h
index dce6fe59ce9..bf271ad866b 100644
--- a/src/devices/machine/mb89352.h
+++ b/src/devices/machine/mb89352.h
@@ -21,10 +21,12 @@ class mb89352_device : public legacy_scsi_host_adapter
{
public:
// construction/destruction
- mb89352_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ mb89352_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0);
template <class Object> devcb_base &set_irq_callback(Object &&cb) { return m_irq_cb.set_callback(std::forward<Object>(cb)); }
template <class Object> devcb_base &set_drq_callback(Object &&cb) { return m_drq_cb.set_callback(std::forward<Object>(cb)); }
+ auto irq_cb() { return m_irq_cb.bind(); }
+ auto drq_cb() { return m_drq_cb.bind(); }
// any publically accessible interfaces needed for runtime
DECLARE_READ8_MEMBER( mb89352_r );