mirror of
https://github.com/holub/mame
synced 2025-05-29 09:03:08 +03:00
fix CPS3/STV (we always use timers for SH2 DMA, and have done for years, just forgot to remove the #ifdef on this code when cleaning up)
This commit is contained in:
parent
0a6f911618
commit
6430bc4f58
@ -181,11 +181,8 @@ void sh2_device::sh2_do_dma(int dma)
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef USE_TIMER_FOR_DMA
|
||||
//schedule next DMA callback
|
||||
//schedule next DMA callback
|
||||
m_dma_current_active_timer[dma]->adjust(cycles_to_attotime(2), dma);
|
||||
#endif
|
||||
|
||||
|
||||
dmadata = m_program->read_byte(tempsrc);
|
||||
if (!m_dma_kludge_cb.isnull()) dmadata = m_dma_kludge_cb(tempsrc, tempdst, dmadata, m_active_dma_size[dma]);
|
||||
|
Loading…
Reference in New Issue
Block a user