summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/rf5c400.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/rf5c400.h')
-rw-r--r--src/devices/sound/rf5c400.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/devices/sound/rf5c400.h b/src/devices/sound/rf5c400.h
index 4d681db3a94..6fe27863f70 100644
--- a/src/devices/sound/rf5c400.h
+++ b/src/devices/sound/rf5c400.h
@@ -25,8 +25,7 @@
// ======================> rf5c400_device
class rf5c400_device : public device_t,
- public device_sound_interface,
- public device_rom_interface
+ public device_sound_interface
{
public:
rf5c400_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
@@ -41,9 +40,6 @@ protected:
// sound stream update overrides
virtual void sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples) override;
- // device_rom_interface overrides
- virtual void rom_bank_updated() override;
-
private:
struct rf5c400_channel
{
@@ -92,13 +88,16 @@ private:
uint8_t decode80(uint8_t val);
+ required_region_ptr<int16_t> m_rom;
+
+ uint32_t m_rommask;
+
sound_stream *m_stream;
envelope_tables m_env_tables;
rf5c400_channel m_channels[32];
- uint16_t m_rf5c400_status;
uint32_t m_ext_mem_address;
uint16_t m_ext_mem_data;
};