From: kub Date: Sat, 22 Jun 2024 21:22:50 +0000 (+0200) Subject: core vdp, change cram write sync X-Git-Tag: v2.00~26 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da10229772881a6b648a4672382c13b741fc398f;p=picodrive.git core vdp, change cram write sync --- diff --git a/pico/videoport.c b/pico/videoport.c index 765708c9..710c0bab 100644 --- a/pico/videoport.c +++ b/pico/videoport.c @@ -896,7 +896,7 @@ PICO_INTERNAL_ASM void PicoVideoWrite(u32 a,unsigned short d) // since the A/B tile row to be read depends on it. E.g. Skitchin, OD2 // in contrast, CRAM writes would have an immediate effect on the current // pixel. XXX think about different offset values for different RAM types - PicoVideoSync(InHblank(30)); + PicoVideoSync(InHblank(pvid->type == 3 ? 103 : 30)); // cram in Toy Story if (!(PicoIn.opt&POPT_DIS_VDP_FIFO)) {