For some reason we're getting a lot of 0x2XXXXXXX addresses in DMA. No games seem to break because of this but it's very noisy. Putting the mask back in dmaGetAddr for now for a little peace and quiet. (Maybe it's even right. The high bits could be handled by the bus.)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2884 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
sudonim1 2010-04-22 00:34:05 +00:00
parent a21fb4b984
commit 5643a95a0e
1 changed files with 3 additions and 0 deletions

View File

@ -641,6 +641,9 @@ static __forceinline tDMA_TAG *dmaGetAddr(u32 addr, bool write)
return (tDMA_TAG*)&psS[addr & 0x3ff0];
}
// FIXME: Why??? DMA uses physical addresses
addr &= 0x1fffffff;
if (addr > 0x10000000)
{
Console.Error( "*PCSX2*: DMA error: %8.8x", addr);