From 572cf80e38508d75312cdb3eeab9eebbd4cf7275 Mon Sep 17 00:00:00 2001 From: kub Date: Tue, 7 Feb 2023 23:10:22 +0000 Subject: [PATCH] core vdp, fix regression (switching V30->V28 in lines 225-239) --- pico/pico_cmn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pico/pico_cmn.c b/pico/pico_cmn.c index 27ed5fd3..1644b0c6 100644 --- a/pico/pico_cmn.c +++ b/pico/pico_cmn.c @@ -127,7 +127,7 @@ static int PicoFrameHints(void) pv->v_counter &= 0xff; } - if (y == (pv->reg[1] & 8 ? 240 : 224)) + if ((y == 224 && !(pv->reg[1] & 8)) || y == 240) break; PAD_DELAY(); -- 2.39.2