From 6430bc4f58ebb63f3786ae924238f4e91326c4a9 Mon Sep 17 00:00:00 2001 From: David Haywood Date: Thu, 12 Oct 2017 01:22:53 +0100 Subject: 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) --- src/devices/cpu/sh/sh2comn.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/devices/cpu/sh/sh2comn.cpp b/src/devices/cpu/sh/sh2comn.cpp index f5d66ae7b3d..21b4735a227 100644 --- a/src/devices/cpu/sh/sh2comn.cpp +++ b/src/devices/cpu/sh/sh2comn.cpp @@ -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]); -- cgit v1.2.3