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;