1
0
Fork 0

Fixed bug in detecting breakpoint

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@951
This commit is contained in:
Ulf Wohlers 2003-04-20 12:13:14 +00:00
parent 6910b58618
commit 0ab79955e6

View file

@ -341,7 +341,7 @@ switch (inst.code.op) {
case O_INT:
SaveIP();
#if C_DEBUG
if ((inst.entry==0xcc) && DEBUG_Breakpoint()) return 1;
if (((inst.entry & 0xFF)==0xcc) && DEBUG_Breakpoint()) return 1;
else if (DEBUG_IntBreakpoint(inst.op1.b)) return 1;
#endif
Interrupt(inst.op1.b);