X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2F32x%2F32x.c;h=ab522e41a6d6840d16175e61ff5ad9d1dbd1475a;hb=419973a6d6cb92f96a60f1d5ccda0beb8b28b15d;hp=0eb2974fc858980295e059152e644f43e59e7d44;hpb=77e58d93fe3fd60f3b0adc4b7364713db714c904;p=picodrive.git diff --git a/pico/32x/32x.c b/pico/32x/32x.c index 0eb2974..ab522e4 100644 --- a/pico/32x/32x.c +++ b/pico/32x/32x.c @@ -523,6 +523,8 @@ void sync_sh2s_lockstep(unsigned int m68k_target) #define CPUS_RUN(m68k_cycles,s68k_cycles) do { \ SekRunM68k(m68k_cycles); \ + if (Pico32x.emu_flags & P32XF_Z80_32X_IO) \ + PicoSyncZ80(SekCycleCnt); \ if (Pico32x.emu_flags & (P32XF_68KCPOLL|P32XF_68KVPOLL)) \ p32x_sync_sh2s(SekCyclesDoneT2()); \ } while (0)