mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-10-11 22:49:56 +00:00
EE:Rec: remove superfluous clamp in recRAMCopy check
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user