mirror of https://github.com/PCSX2/pcsx2.git
Like this?
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5450 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
094a8ab0d6
commit
a208901b9d
|
@ -122,11 +122,11 @@ __fi tDMA_TAG* SPRdmaGetAddr(u32 addr, bool write)
|
||||||
//Access for VU Memory
|
//Access for VU Memory
|
||||||
|
|
||||||
if((addr >= 0x1100c000) && (addr < 0x11010000))
|
if((addr >= 0x1100c000) && (addr < 0x11010000))
|
||||||
return (tDMA_TAG*)VU1.Mem + (addr & 0x3fff);
|
return (tDMA_TAG*)VU1.Mem + (addr & 0x3ff0);
|
||||||
|
|
||||||
//Possibly not needed but the manual doesn't say SPR cannot access it.
|
//Possibly not needed but the manual doesn't say SPR cannot access it.
|
||||||
if((addr >= 0x11008000) && (addr < 0x1100c000))
|
if((addr >= 0x11008000) && (addr < 0x1100c000))
|
||||||
return (tDMA_TAG*)VU1.Micro + (addr & 0x3fff);
|
return (tDMA_TAG*)VU1.Micro + (addr & 0x3ff0);
|
||||||
|
|
||||||
if ((addr >= 0x11000000) && (addr < 0x11004000))
|
if ((addr >= 0x11000000) && (addr < 0x11004000))
|
||||||
return (tDMA_TAG*)VU0.Micro + (addr & 0xff0);
|
return (tDMA_TAG*)VU0.Micro + (addr & 0xff0);
|
||||||
|
|
Loading…
Reference in New Issue