-#define Z80_RUN(z80_cycles) \
-{ \
- if ((PicoOpt&4) && Pico.m.z80Run) \
- { \
- int cnt; \
- if (Pico.m.z80Run & 2) z80CycleAim += z80_cycles; \
- else { \
- cnt = SekCyclesDone() - z80startCycle; \
- cnt = (cnt>>1)-(cnt>>5); \
- if (cnt < 0 || cnt > (z80_cycles)) cnt = z80_cycles; \
- Pico.m.z80Run |= 2; \
- z80CycleAim+=cnt; \
- } \
- cnt=z80CycleAim-total_z80; \
- if (cnt > 0) total_z80+=z80_run(cnt); \
- } \
-}
-