mirror of
https://github.com/holub/mame
synced 2025-07-05 18:08:04 +03:00
c6280.cpp : Fix regression
This commit is contained in:
parent
8168672e59
commit
895f33658b
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user