Fixed bug in detecting breakpoint
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@951
This commit is contained in:
parent
6910b58618
commit
0ab79955e6
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue