diff options
Diffstat (limited to 'src/devices/sound/c6280.cpp')
-rw-r--r-- | src/devices/sound/c6280.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/sound/c6280.cpp b/src/devices/sound/c6280.cpp index 73ec3e821be..6c6f2410166 100644 --- a/src/devices/sound/c6280.cpp +++ b/src/devices/sound/c6280.cpp @@ -163,7 +163,7 @@ void c6280_device::sound_stream_update(sound_stream &stream, stream_sample_t **i uint32_t step = m_channel[ch].m_frequency ? m_channel[ch].m_frequency : 0x1000; for (int i = 0; i < samples; i += 1) { - int offset = m_channel[0].m_counter; + int offset = m_channel[ch].m_counter; m_channel[ch].m_tick--; if (m_channel[ch].m_tick <= 0) { |