From c3a84acc91c16cc58dc2ac072ef8e8effd935799 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 21a1f492e..f4a97a1de 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)) {