1
0
Fork 0

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:
Peter Veenstra 2017-09-25 15:53:20 +00:00
parent aa7334503a
commit 32f0049408

View file

@ -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;