From 0ab79955e64389bf23497c2fe09744f927945c8e Mon Sep 17 00:00:00 2001 From: Ulf Wohlers Date: Sun, 20 Apr 2003 12:13:14 +0000 Subject: [PATCH] Fixed bug in detecting breakpoint Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@951 --- src/cpu/core_full/op.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpu/core_full/op.h b/src/cpu/core_full/op.h index 62f285d7..e3ebfd88 100644 --- a/src/cpu/core_full/op.h +++ b/src/cpu/core_full/op.h @@ -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);