Add consideration for the break flag of memChecks

It was never used, even when the code tried to make sure it was initialised and passed correctly.  This is a supplementary fix for the memCheck dialog as this option will now work correctly.
This commit is contained in:
aldelaro5 2016-09-23 21:15:35 -04:00
parent efb7b1ceca
commit 5e8fc4ebd9

View File

@ -218,8 +218,8 @@ bool TMemCheck::Action(DebugInterface* debug_interface, u32 iValue, u32 addr, bo
debug_interface->GetDescription(pc).c_str(), write ? "Write" : "Read", size * 8,
size * 2, iValue, addr, debug_interface->GetDescription(addr).c_str());
}
return true;
if (Break)
return true;
}
return false;
}