When hitting go on a memcheck, also skip it.

If you hit go you most likely want it to continue past the instruction you
were on.
This commit is contained in:
Unknown W. Brackets 2013-06-30 16:07:38 -07:00
parent 8ee88ae5a2
commit 942d50d521

View file

@ -708,6 +708,10 @@ void Jit::JitSafeMem::Finish()
void JitMemCheck(u32 addr, int size, int isWrite)
{
// Should we skip this breakpoint?
if (CBreakPoints::CheckSkipFirst() == currentMIPS->pc)
return;
MemCheck *check = CBreakPoints::GetMemCheck(addr, size);
if (check)
check->Action(addr, isWrite == 1, size, currentMIPS->pc);