diff options
author | cam900 <dbtlrchl@naver.com> | 2019-03-30 14:23:51 +0900 |
---|---|---|
committer | Vas Crabb <cuavas@users.noreply.github.com> | 2019-03-30 16:44:38 +1100 |
commit | 895f33658b92e1ec2edeff4ee7f4594948e5c024 (patch) | |
tree | d5adef09837dd491832a32a0c28ffbbdbdaea434 | |
parent | 8168672e59393deab702977e040d2645920b38cb (diff) |
c6280.cpp : Fix regression
-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) { |