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) {