From 8f6d4963bce90c1f8d1560ff5b1b506549a517ad Mon Sep 17 00:00:00 2001 From: refraction Date: Sun, 11 Nov 2012 19:20:55 +0000 Subject: [PATCH] fix the masks in the previous commit, habits die hard :P git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5448 96395faa-99c1-11dd-bbfe-3dabce05a288 --- pcsx2/ps2/LegacyDmac.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pcsx2/ps2/LegacyDmac.cpp b/pcsx2/ps2/LegacyDmac.cpp index 13471ca6e7..0a615a3a99 100644 --- a/pcsx2/ps2/LegacyDmac.cpp +++ b/pcsx2/ps2/LegacyDmac.cpp @@ -121,16 +121,16 @@ __fi tDMA_TAG* SPRdmaGetAddr(u32 addr, bool write) } //Access for VU Memory if((addr >= 0x11008000) && (addr < 0x1100c000)) - return (tDMA_TAG*)VU1.Micro + (addr & 0x3ff0); + return (tDMA_TAG*)VU1.Micro + (addr & 0xfff0); if((addr >= 0x1100c000) && (addr < 0x11010000)) - return (tDMA_TAG*)VU1.Mem + (addr & 0x3ff0); + return (tDMA_TAG*)VU1.Mem + (addr & 0xfff0); if ((addr >= 0x11000000) && (addr < 0x11004000)) return (tDMA_TAG*)VU0.Micro + (addr & 0xfff0); if ((addr >= 0x11004000) && (addr < 0x11008000)) - return (tDMA_TAG*)VU0.Mem + (addr & 0xfff0); + return (tDMA_TAG*)VU0.Mem + (addr & 0xfff0); } else