Memory: Ignore SB in 8mb space when on 4mb
This commit is contained in:
parent
63bd2b5cb4
commit
0e21c8568c
|
@ -1628,7 +1628,13 @@ int CMipsMemoryVM::MemoryFilter( DWORD dwExptCode, void * lpExceptionPointer )
|
||||||
return EXCEPTION_EXECUTE_HANDLER;
|
return EXCEPTION_EXECUTE_HANDLER;
|
||||||
}
|
}
|
||||||
|
|
||||||
int CMipsMemoryVM::LB_NonMemory ( DWORD /*PAddr*/, DWORD * Value, BOOL /*SignExtend*/ ) {
|
int CMipsMemoryVM::LB_NonMemory ( DWORD PAddr, DWORD * Value, BOOL /*SignExtend*/ )
|
||||||
|
{
|
||||||
|
if (PAddr < 0x800000)
|
||||||
|
{
|
||||||
|
* Value = 0;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
_Notify->BreakPoint(__FILE__,__LINE__);
|
_Notify->BreakPoint(__FILE__,__LINE__);
|
||||||
#ifdef tofix
|
#ifdef tofix
|
||||||
if (PAddr >= 0x10000000 && PAddr < 0x16000000) {
|
if (PAddr >= 0x10000000 && PAddr < 0x16000000) {
|
||||||
|
|
Loading…
Reference in New Issue