gaelco3d.cpp: fixed MT07831

This commit is contained in:
Ivan Vangelista 2021-03-15 18:04:33 +01:00
parent 91fc42789c
commit 613eaa353c

View File

@ -539,7 +539,7 @@ TIMER_DEVICE_CALLBACK_MEMBER(gaelco3d_state::adsp_autobuffer_irq)
if (m_adsp_incs)
{
for (uint8_t i = 0; i < SOUND_CHANNELS; i++)
m_dmadac[i]->transfer(i, m_adsp_incs, SOUND_CHANNELS * m_adsp_incs, m_adsp_size / (SOUND_CHANNELS * m_adsp_incs), (int16_t *)&m_adsp_fastram_base[reg - 0x3800]);
m_dmadac[i]->transfer(i, m_adsp_incs, SOUND_CHANNELS * m_adsp_incs, m_adsp_size / (SOUND_CHANNELS * m_adsp_incs), (int16_t *)&m_adsp_fastram_base[(reg - 0x3800) / 2]);
}
// Increment it