summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/ad1848.h
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2017-05-24 16:44:58 +0200
committer Ivan Vangelista <mesgnet@yahoo.it>2017-05-24 16:44:58 +0200
commit02e20545e7950e7a75a1750dadba76b8161d0827 (patch)
treeb79cfaab5483ca21bda7e5b70bf90a92f0bbbdcb /src/devices/sound/ad1848.h
parent561311477307cd5807566e5cf966d2be276a6b19 (diff)
updated devices/sound devices to use device_add_mconfig insted of device_mconfig_additions (nw)
Diffstat (limited to 'src/devices/sound/ad1848.h')
-rw-r--r--src/devices/sound/ad1848.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/devices/sound/ad1848.h b/src/devices/sound/ad1848.h
index 4b410adcdf2..0822a9979ba 100644
--- a/src/devices/sound/ad1848.h
+++ b/src/devices/sound/ad1848.h
@@ -22,16 +22,17 @@ public:
template <class Object> static devcb_base &set_irq_callback(device_t &device, Object &&cb) { return downcast<ad1848_device &>(device).m_irq_cb.set_callback(std::forward<Object>(cb)); }
template <class Object> static devcb_base &set_drq_callback(device_t &device, Object &&cb) { return downcast<ad1848_device &>(device).m_drq_cb.set_callback(std::forward<Object>(cb)); }
- virtual machine_config_constructor device_mconfig_additions() const override;
-
DECLARE_READ8_MEMBER(read);
DECLARE_WRITE8_MEMBER(write);
DECLARE_READ8_MEMBER(dack_r);
DECLARE_WRITE8_MEMBER(dack_w);
+
protected:
virtual void device_start() override;
virtual void device_reset() override;
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override;
+ virtual void device_add_mconfig(machine_config &config) override;
+
private:
union {