m68ki_set_address_error_trap(); /* auto-disable (see m68kcpu.h) */\r
\r
/* Main loop. Keep going until we run out of clock cycles */\r
- while(GET_CYCLES() > 0)\r
+ while(GET_CYCLES() >= 0)\r
{\r
/* Set tracing accodring to T1. (T0 is done inside instruction) */\r
m68ki_trace_t1(); /* auto-disable (see m68kcpu.h) */\r