[Project64] make CMipsMemoryVM::SW_VAddr compare line the same as LW
This commit is contained in:
parent
a95b35ec2e
commit
91f36ac8f9
|
@ -468,7 +468,7 @@ bool CMipsMemoryVM::SW_VAddr(uint32_t VAddr, uint32_t Value)
|
||||||
{
|
{
|
||||||
if (VAddr >= 0xA3F00000 && VAddr < 0xC0000000)
|
if (VAddr >= 0xA3F00000 && VAddr < 0xC0000000)
|
||||||
{
|
{
|
||||||
if (VAddr < 0xA4000000 || VAddr >= 0xA4002000)
|
if ((VAddr & 0xFFFFE000ul) != 0xA4000000ul) // !(A4000000 <= addr < A4002000)
|
||||||
{
|
{
|
||||||
VAddr &= 0x1FFFFFFF;
|
VAddr &= 0x1FFFFFFF;
|
||||||
SW_NonMemory(VAddr, Value);
|
SW_NonMemory(VAddr, Value);
|
||||||
|
|
Loading…
Reference in New Issue