summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/3526intf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/3526intf.h')
-rw-r--r--src/devices/sound/3526intf.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/sound/3526intf.h b/src/devices/sound/3526intf.h
index c880cfcfc51..338ffb1f2b4 100644
--- a/src/devices/sound/3526intf.h
+++ b/src/devices/sound/3526intf.h
@@ -15,13 +15,13 @@ public:
template <class Object> devcb_base &set_irq_handler(Object &&cb) { return m_irq_handler.set_callback(std::forward<Object>(cb)); }
auto irq_handler() { return m_irq_handler.bind(); }
- u8 read(offs_t offset);
- void write(offs_t offset, u8 data);
+ DECLARE_READ8_MEMBER( read );
+ DECLARE_WRITE8_MEMBER( write );
- u8 status_port_r();
- u8 read_port_r();
- void control_port_w(u8 data);
- void write_port_w(u8 data);
+ DECLARE_READ8_MEMBER( status_port_r );
+ DECLARE_READ8_MEMBER( read_port_r );
+ DECLARE_WRITE8_MEMBER( control_port_w );
+ DECLARE_WRITE8_MEMBER( write_port_w );
protected:
// device-level overrides