X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fpico.c;h=80ffb90efd04c7535659ac2e6d8274b787df17fc;hb=f81107f59093904c3daac2e9c257261fddc6caf0;hp=20648f0c117d24a4188058107cadba6fcec68439;hpb=a8fd6e376175c06e2423d0914359c761829d6e93;p=picodrive.git diff --git a/pico/pico.c b/pico/pico.c index 20648f0..80ffb90 100644 --- a/pico/pico.c +++ b/pico/pico.c @@ -54,6 +54,7 @@ void PicoExit(void) if (SRam.data) free(SRam.data); + pevt_dump(); } void PicoPower(void) @@ -145,6 +146,10 @@ int PicoReset(void) if (Pico.romsize <= 0) return 1; +#ifdef DRC_CMP + PicoOpt |= POPT_DIS_VDP_FIFO|POPT_DIS_IDLE_DET; +#endif + /* must call now, so that banking is reset, and correct vectors get fetched */ if (PicoResetHook) PicoResetHook();