summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/sn76496.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/sn76496.h')
-rw-r--r--src/devices/sound/sn76496.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/devices/sound/sn76496.h b/src/devices/sound/sn76496.h
index cd7b4a6c509..b518fa25398 100644
--- a/src/devices/sound/sn76496.h
+++ b/src/devices/sound/sn76496.h
@@ -24,8 +24,9 @@ class sn76496_base_device : public device_t, public device_sound_interface
public:
auto ready_cb() { return m_ready_handler.bind(); }
- void stereo_w(u8 data);
- void write(u8 data);
+ DECLARE_WRITE8_MEMBER( stereo_w );
+ void write(uint8_t data);
+ DECLARE_WRITE8_MEMBER( command_w ) { write(data); }
DECLARE_READ_LINE_MEMBER( ready_r ) { return m_ready_state ? 1 : 0; }
protected: