diff options
Diffstat (limited to 'src/devices/sound/swp30.h')
-rw-r--r-- | src/devices/sound/swp30.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/devices/sound/swp30.h b/src/devices/sound/swp30.h index dd95a8dd85f..56e24b453f0 100644 --- a/src/devices/sound/swp30.h +++ b/src/devices/sound/swp30.h @@ -8,8 +8,6 @@ #pragma once -#include "meg.h" - class swp30_device : public device_t, public device_sound_interface, public device_rom_interface { public: @@ -22,11 +20,8 @@ protected: virtual void device_reset() override; virtual void sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples) override; virtual void rom_bank_updated() override; - virtual void device_add_mconfig(machine_config &config) override; private: - required_device<meg_embedded_device> m_meg; - sound_stream *m_stream; s32 m_sample_increment[0x4000]; @@ -104,8 +99,8 @@ private: // MEG registers template<int sel> u16 prg_fp_r(offs_t offset); template<int sel> void prg_fp_w(offs_t offset, u16 data); - template<int sel> u16 prg_off_r(offs_t offset); - template<int sel> void prg_off_w(offs_t offset, u16 data); + template<int sel> u16 prg_int_r(offs_t offset); + template<int sel> void prg_int_w(offs_t offset, u16 data); template<int sel> u16 prg_lfo_r(offs_t offset); template<int sel> void prg_lfo_w(offs_t offset, u16 data); |