Add trivial speed up to debugger.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4053
This commit is contained in:
parent
aa7334503a
commit
32f0049408
1 changed files with 3 additions and 0 deletions
|
@ -447,6 +447,9 @@ void CBreakpoint::ActivateBreakpointsExceptAt(PhysPt adr)
|
|||
bool CBreakpoint::CheckBreakpoint(Bitu seg, Bitu off)
|
||||
// Checks if breakpoint is valid and should stop execution
|
||||
{
|
||||
// Quick exit if there are no breakpoints
|
||||
if (BPoints.size() == 0) return false;
|
||||
|
||||
// Search matching breakpoint
|
||||
std::list<CBreakpoint*>::iterator i;
|
||||
CBreakpoint* bp;
|
||||
|
|
Loading…
Add table
Reference in a new issue