psx.c: adjusted MDEC timing to avoid lockups. Most FMVs now have fluent video. [R. Belmont]

This got never commit in MAME, last February, with the unique result that after two weeks the code got overwritten by 0.141u3 update and the FMVs got broken again...
This commit is contained in:
Fabio Priuli 2011-04-27 20:42:26 +00:00
parent af94c692bb
commit 7b3abdce08

View File

@ -429,7 +429,7 @@ WRITE32_HANDLER( psx_dma_w )
(*dma->fn_read)( space->machine(), n_address, n_size );
dma_finished( p_psx, n_channel );
}
else if( dma->n_channelcontrol == 0x11000000 && // CD DMA
else if (((dma->n_channelcontrol == 0x11000000) || (dma->n_channelcontrol == 0x11400100)) && // CD DMA
dma->fn_read != NULL )
{
verboselog( p_psx, 1, "dma %d read block %08x %08x\n", n_channel, n_address, n_size );
@ -449,7 +449,7 @@ WRITE32_HANDLER( psx_dma_w )
(*dma->fn_read)( space->machine(), n_address, n_size );
if( n_channel == 1 )
{
dma_start_timer( p_psx, n_channel, 26000 );
dma_start_timer( p_psx, n_channel, 25000 );
}
else
{