do not fail on write invalid non memory address (failure should be for a tlb miss, not unhandled register
This commit is contained in:
parent
ff564bc11a
commit
236f2a1ddb
|
@ -254,7 +254,8 @@ BOOL CMipsMemoryVM::SW_VAddr ( DWORD VAddr, DWORD Value )
|
||||||
if (VAddr < 0xA4000000 || VAddr >= 0xA4002000)
|
if (VAddr < 0xA4000000 || VAddr >= 0xA4002000)
|
||||||
{
|
{
|
||||||
VAddr &= 0x1FFFFFFF;
|
VAddr &= 0x1FFFFFFF;
|
||||||
return SW_NonMemory(VAddr,Value);
|
SW_NonMemory(VAddr,Value);
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (m_TLB_WriteMap[VAddr >> 12] == 0) { return FALSE; }
|
if (m_TLB_WriteMap[VAddr >> 12] == 0) { return FALSE; }
|
||||||
|
|
Loading…
Reference in New Issue