X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fpico.c;h=7c7a93e7189f4928a9fd16ac1090c5784f84c937;hb=5ac99d9adf88799fd2de3ec787409ed1f2255168;hp=80ffb90efd04c7535659ac2e6d8274b787df17fc;hpb=19886062f1a36f70b1f01d58f3fa1b79162defac;p=picodrive.git diff --git a/pico/pico.c b/pico/pico.c index 80ffb90..7c7a93e 100644 --- a/pico/pico.c +++ b/pico/pico.c @@ -146,7 +146,7 @@ int PicoReset(void) if (Pico.romsize <= 0) return 1; -#ifdef DRC_CMP +#if defined(CPU_CMP_R) || defined(CPU_CMP_W) || defined(DRC_CMP) PicoOpt |= POPT_DIS_VDP_FIFO|POPT_DIS_IDLE_DET; #endif @@ -165,7 +165,7 @@ int PicoReset(void) SekReset(); // s68k doesn't have the TAS quirk, so we just globally set normal TAS handler in MCD mode (used by Batman games). SekSetRealTAS(PicoAHW & PAHW_MCD); - SekCycleCntT=0; + SekCycleCntT = SekCycleCnt = SekCycleAim = 0; if (PicoAHW & PAHW_MCD) // needed for MCD to reset properly, probably some bug hides behind this..