z80 timing change

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@84 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2007-03-31 17:25:48 +00:00
parent 2433f40912
commit d915372968
6 changed files with 32 additions and 15 deletions

View file

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