+ if (Pico.m.z80Run & 2) z80CycleAim+=cycles_z80;
+ else {
+ int cnt = SekCyclesDone() - z80startCycle;
+ cnt = (cnt>>1)-(cnt>>5);
+ //if (cnt > cycles_z80) printf("FIXME: z80 cycles: %i\n", cnt);
+ if (cnt > cycles_z80) cnt = cycles_z80;
+ Pico.m.z80Run |= 2;
+ z80CycleAim+=cnt;
+ }