[Project64] make CMipsMemoryVM::SW_VAddr compare line the same as LW

This commit is contained in:
zilmar 2016-05-15 20:19:15 +10:00
parent a95b35ec2e
commit 91f36ac8f9
1 changed files with 1 additions and 1 deletions

View File

@ -468,7 +468,7 @@ bool CMipsMemoryVM::SW_VAddr(uint32_t VAddr, uint32_t Value)
{
if (VAddr >= 0xA3F00000 && VAddr < 0xC0000000)
{
if (VAddr < 0xA4000000 || VAddr >= 0xA4002000)
if ((VAddr & 0xFFFFE000ul) != 0xA4000000ul) // !(A4000000 <= addr < A4002000)
{
VAddr &= 0x1FFFFFFF;
SW_NonMemory(VAddr, Value);