mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
e785a5b861
commit
e99837abaf
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue