summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/3812intf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/3812intf.h')
-rw-r--r--src/devices/sound/3812intf.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/sound/3812intf.h b/src/devices/sound/3812intf.h
index 5a4f4eeae2e..56a6accb30a 100644
--- a/src/devices/sound/3812intf.h
+++ b/src/devices/sound/3812intf.h
@@ -13,13 +13,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(); }
- DECLARE_READ8_MEMBER( read );
- DECLARE_WRITE8_MEMBER( write );
+ u8 read(offs_t offset);
+ void write(offs_t offset, 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 );
+ u8 status_port_r();
+ u8 read_port_r();
+ void control_port_w(u8 data);
+ void write_port_w(u8 data);
protected:
// device-level overrides