From: kub Date: Tue, 7 Feb 2023 23:10:22 +0000 (+0000) Subject: core vdp, fix regression (switching V30->V28 in lines 225-239) X-Git-Tag: v2.00~257 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=572cf80e38508d75312cdb3eeab9eebbd4cf7275;p=picodrive.git core vdp, fix regression (switching V30->V28 in lines 225-239) --- 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();