mirror of https://github.com/PCSX2/pcsx2.git
Core:Rec: Adjust bounds check asserts to not erroneously trip
This commit is contained in:
parent
1030db87d4
commit
6681614f1a
|
@ -1736,7 +1736,7 @@ StartRecomp:
|
|||
}
|
||||
}
|
||||
|
||||
pxAssert(xGetPtr() < recPtrEnd);
|
||||
pxAssert(xGetPtr() < SysMemory::GetIOPRecEnd());
|
||||
|
||||
pxAssert(xGetPtr() - recPtr < _64kb);
|
||||
s_pCurBlockEx->x86size = xGetPtr() - recPtr;
|
||||
|
|
|
@ -900,7 +900,7 @@ u8* recEndThunk()
|
|||
{
|
||||
u8* block_end = x86Ptr;
|
||||
|
||||
pxAssert(block_end < recPtrEnd);
|
||||
pxAssert(block_end < SysMemory::GetEERecEnd());
|
||||
recPtr = block_end;
|
||||
return block_end;
|
||||
}
|
||||
|
@ -2698,7 +2698,7 @@ StartRecomp:
|
|||
}
|
||||
}
|
||||
|
||||
pxAssert(xGetPtr() < recPtrEnd);
|
||||
pxAssert(xGetPtr() < SysMemory::GetEERecEnd());
|
||||
|
||||
s_pCurBlockEx->x86size = static_cast<u32>(xGetPtr() - recPtr);
|
||||
|
||||
|
|
Loading…
Reference in New Issue