From 65d4bbf28c42cf6eacdef4d4079b5c52b248affb Mon Sep 17 00:00:00 2001 From: Ulf Wohlers Date: Mon, 14 Apr 2003 10:44:39 +0000 Subject: [PATCH] Added heavy breakpoint handling Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@929 --- src/cpu/core_full.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cpu/core_full.cpp b/src/cpu/core_full.cpp index ec305518..7b4d9753 100644 --- a/src/cpu/core_full.cpp +++ b/src/cpu/core_full.cpp @@ -57,6 +57,10 @@ Bitu Full_DeCode(void) { while (CPU_Cycles>0) { #if C_DEBUG cycle_count++; +#if C_HEAVY_DEBUG + SaveIP(); + if (DEBUG_HeavyIsBreakpoint()) return 1; +#endif #endif CPU_Cycles--; inst.entry=cpu.full.entry;