32x: add preliminary hint emulation
[picodrive.git] / pico / pico.c
index 9a1faca..7c7a93e 100644 (file)
@@ -54,6 +54,7 @@ void PicoExit(void)
 \r
   if (SRam.data)\r
     free(SRam.data);\r
+  pevt_dump();\r
 }\r
 \r
 void PicoPower(void)\r
@@ -145,7 +146,7 @@ int PicoReset(void)
   if (Pico.romsize <= 0)\r
     return 1;\r
 \r
-#ifdef DRC_CMP\r
+#if defined(CPU_CMP_R) || defined(CPU_CMP_W) || defined(DRC_CMP)\r
   PicoOpt |= POPT_DIS_VDP_FIFO|POPT_DIS_IDLE_DET;\r
 #endif\r
 \r
@@ -164,7 +165,7 @@ int PicoReset(void)
   SekReset();\r
   // s68k doesn't have the TAS quirk, so we just globally set normal TAS handler in MCD mode (used by Batman games).\r
   SekSetRealTAS(PicoAHW & PAHW_MCD);\r
-  SekCycleCntT=0;\r
+  SekCycleCntT = SekCycleCnt = SekCycleAim = 0;\r
 \r
   if (PicoAHW & PAHW_MCD)\r
     // needed for MCD to reset properly, probably some bug hides behind this..\r