z80 timing change
[picodrive.git] / cpu / musashi / m68kcpu.c
index e4212a8..14a6cad 100644 (file)
@@ -788,7 +788,7 @@ int m68k_execute(int num_cycles)
                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