EE:Rec: remove superfluous clamp in recRAMCopy check

This commit is contained in:
Brian Degenhardt
2026-09-03 11:42:51 -04:00
committed by Ty
parent d9dcb0abd7
commit 969c3b54b8
+1 -2
View File
@@ -2689,8 +2689,7 @@ StartRecomp:
break;
if (memcmp(&recRAMCopy[oldBlock->startpc], PSM(oldBlock->startpc),
// clamp because delay slot might extend past the end of memory
std::min(oldBlock->size * 4, Ps2MemSize::ExposedRam - oldBlock->startpc)))
oldBlock->size * 4))
{
recClear(startpc, (pc - startpc) / 4);
s_pCurBlockEx = recBlocks.Get(HWADDR(startpc));