diff options
author | 2017-05-24 16:44:58 +0200 | |
---|---|---|
committer | 2017-05-24 16:44:58 +0200 | |
commit | 02e20545e7950e7a75a1750dadba76b8161d0827 (patch) | |
tree | b79cfaab5483ca21bda7e5b70bf90a92f0bbbdcb /src/devices/sound/ad1848.h | |
parent | 561311477307cd5807566e5cf966d2be276a6b19 (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.h | 5 |
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 { |