Fix for Neo Contra to stop crashes and DMA spam

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2889 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
refraction 2010-04-24 17:22:22 +00:00
parent e785a5b861
commit e99837abaf
1 changed files with 2 additions and 2 deletions

View File

@ -642,9 +642,9 @@ static __forceinline tDMA_TAG *dmaGetAddr(u32 addr, bool write)
}
// FIXME: Why??? DMA uses physical addresses
addr &= 0x1ffffff0;
addr &= 0x3ffffff0;
if (addr > 0x10000000)
if (addr >= 0x20000000)
{
Console.Error( "*PCSX2*: DMA error: %8.8x", addr);
return NULL;