From b677b59c7fb15bef4772525e683f643bee21583e Mon Sep 17 00:00:00 2001 From: Ulf Wohlers Date: Sun, 17 Nov 2002 12:26:52 +0000 Subject: [PATCH] Changes for debugger and trapflag support Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@525 --- src/dosbox.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dosbox.cpp b/src/dosbox.cpp index 48a4f86c..8a826caf 100644 --- a/src/dosbox.cpp +++ b/src/dosbox.cpp @@ -91,13 +91,13 @@ static Bitu Normal_Loop(void) { Bitu ret,NewTicks; while (RemainTicks) { ret=PIC_RunQueue(); + #if C_DEBUG + if (DEBUG_ExitLoop()) return 0; + #endif if (ret) return ret; RemainTicks--; TIMER_AddTick(); GFX_Events(); - #if C_DEBUG - if (DEBUG_ExitLoop()) return 0; - #endif } NewTicks=GetTicks(); if (NewTicks>LastTicks) {