diff options
Diffstat (limited to 'src/mame/audio/special.cpp')
-rw-r--r-- | src/mame/audio/special.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/audio/special.cpp b/src/mame/audio/special.cpp index 61bcccc3959..6edc3cebcdf 100644 --- a/src/mame/audio/special.cpp +++ b/src/mame/audio/special.cpp @@ -14,7 +14,7 @@ // device type definition -const device_type SPECIMX_SND = device_creator<specimx_sound_device>; +DEFINE_DEVICE_TYPE(SPECIMX_SND, specimx_sound_device, "specimx_sound", "Specialist MX Audio Custom") //************************************************************************** @@ -26,11 +26,11 @@ const device_type SPECIMX_SND = device_creator<specimx_sound_device>; //------------------------------------------------- specimx_sound_device::specimx_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : device_t(mconfig, SPECIMX_SND, "Specialist MX Audio Custom", tag, owner, clock, "specimx_sound", __FILE__), - device_sound_interface(mconfig, *this), - m_mixer_channel(nullptr) + : device_t(mconfig, SPECIMX_SND, tag, owner, clock) + , device_sound_interface(mconfig, *this) + , m_mixer_channel(nullptr) + , m_specimx_input{ 0, 0, 0 } { - memset(m_specimx_input, 0, sizeof(int)*3); } |