X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2Fcarthw%2Fsvp%2Fsvp.c;h=cbddd9c56da071e87f1a4aefb88300b820788744;hb=08fe8094f754d7d7da4d9183d7a0c07abd4fc8b6;hp=c7b6551c018f07041dad86df0dfd91d9ea6efd7e;hpb=1ca2ea4f60d990a4240a387fdde78a87f77f30f1;p=picodrive.git diff --git a/Pico/carthw/svp/svp.c b/Pico/carthw/svp/svp.c index c7b6551..cbddd9c 100644 --- a/Pico/carthw/svp/svp.c +++ b/Pico/carthw/svp/svp.c @@ -13,7 +13,7 @@ #endif svp_t *svp = NULL; -int PicoSVPCycles = 820; // cycles/line, just a guess +int PicoSVPCycles = 850; // cycles/line, just a guess static int svp_dyn_ready = 0; /* save state stuff */ @@ -47,8 +47,10 @@ static void PicoSVPLine(int count) { if ((PicoOpt&0x20000) && svp_dyn_ready) ssp1601_dyn_run(PicoSVPCycles * count); - else + else { ssp1601_run(PicoSVPCycles * count); + svp_dyn_ready = 0; // just in case + } // test mode //if (Pico.m.frame_count == 13) PicoPad[0] |= 0xff;