From c840ac87c870cf5fd6f65379b4f6d11912f0b050 Mon Sep 17 00:00:00 2001 From: Ulf Wohlers Date: Wed, 9 Jul 2003 16:06:47 +0000 Subject: [PATCH] LEAVECORE is called only if breakpoint is detected (heavy debug) Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1105 --- src/cpu/core_full.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/cpu/core_full.cpp b/src/cpu/core_full.cpp index 7e2d8e53..b7351f59 100644 --- a/src/cpu/core_full.cpp +++ b/src/cpu/core_full.cpp @@ -91,8 +91,10 @@ Bitu Full_DeCode(void) { #if C_DEBUG cycle_count++; #if C_HEAVY_DEBUG - LEAVECORE; - if (DEBUG_HeavyIsBreakpoint()) return 1; + if (DEBUG_HeavyIsBreakpoint()) { + LEAVECORE; + return 1; + }; #endif #endif inst.start=IPPoint;