From da10229772881a6b648a4672382c13b741fc398f Mon Sep 17 00:00:00 2001 From: kub Date: Sat, 22 Jun 2024 23:22:50 +0200 Subject: [PATCH] core vdp, change cram write sync --- pico/videoport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- 2.39.2