summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/rf5c68.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/rf5c68.h')
-rw-r--r--src/devices/sound/rf5c68.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/devices/sound/rf5c68.h b/src/devices/sound/rf5c68.h
index f0c202e0e04..5594e32f3e8 100644
--- a/src/devices/sound/rf5c68.h
+++ b/src/devices/sound/rf5c68.h
@@ -44,8 +44,11 @@ public:
DECLARE_WRITE8_MEMBER( rf5c68_mem_w );
protected:
+ rf5c68_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock);
+
// device-level overrides
virtual void device_start() override;
+ virtual void device_clock_changed() override;
// sound stream update overrides
virtual void sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples) override;
@@ -81,6 +84,13 @@ private:
sample_end_cb_delegate m_sample_end_cb;
};
+class rf5c164_device : public rf5c68_device
+{
+public:
+ rf5c164_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+};
+
DECLARE_DEVICE_TYPE(RF5C68, rf5c68_device)
+DECLARE_DEVICE_TYPE(RF5C164, rf5c164_device)
#endif // MAME_SOUND_RF5C68_H