From 99d8eac84adf1085afd2e9dd01b2b02ae15729d1 Mon Sep 17 00:00:00 2001 From: ramapcsx2 Date: Fri, 31 Aug 2012 19:11:57 +0000 Subject: [PATCH] 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 --- pcsx2/ps2/LegacyDmac.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pcsx2/ps2/LegacyDmac.cpp b/pcsx2/ps2/LegacyDmac.cpp index a6eb16e661..fdb200ea16 100644 --- a/pcsx2/ps2/LegacyDmac.cpp +++ b/pcsx2/ps2/LegacyDmac.cpp @@ -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)