diff options
Diffstat (limited to 'src/mess/audio/special.c')
-rw-r--r-- | src/mess/audio/special.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/mess/audio/special.c b/src/mess/audio/special.c index 8afb2c6a915..d5d13c96f32 100644 --- a/src/mess/audio/special.c +++ b/src/mess/audio/special.c @@ -24,10 +24,10 @@ const device_type SPECIMX = &device_creator<specimx_sound_device>; specimx_sound_device::specimx_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SPECIMX, "Specialist MX Custom", tag, owner, clock), - device_sound_interface(mconfig, *this), - m_mixer_channel(NULL) + device_sound_interface(mconfig, *this), + m_mixer_channel(NULL) { - memset(m_specimx_input, 0, sizeof(int)*3); + memset(m_specimx_input, 0, sizeof(int)*3); } @@ -79,10 +79,8 @@ void specimx_sound_device::sound_stream_update(sound_stream &stream, stream_samp void specimx_sound_device::set_input(int index, int state) { if (m_mixer_channel!=NULL) - { + { m_mixer_channel->update(); } m_specimx_input[index] = state; } - - |