Found and hopefully fixed a really long standing DMAC bug.

This gets videos working in Katamari Damaci, Baldurs Gate, Tales of Destiny 2, Suikoden Tactics and others.
May fix other games as well, these are just the popular ones :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5393 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2012-08-31 19:11:57 +00:00
parent ca2d9b0469
commit 99d8eac84a
1 changed files with 2 additions and 1 deletions

View File

@ -204,7 +204,8 @@ static __ri void DmaExec( void (*func)(), u32 mem, u32 value )
{
const uint channel = ChannelNumber(mem);
if(psHu8(DMAC_ENABLER+2) == 1) //DMA is suspended so we can allow writes to anything
// The following if ( 0 ) is probably a misunderstanding, broke Katamari videos
if( 0 /*psHu8(DMAC_ENABLER+2) == 1*/) //DMA is suspended so we can allow writes to anything
{
//If it stops the DMA, we need to clear any pending interrupts so the DMA doesnt continue.
if(chcr.STR == 0)