core vdp, fix regression (switching V30->V28 in lines 225-239)
authorkub <derkub@gmail.com>
Tue, 7 Feb 2023 23:10:22 +0000 (23:10 +0000)
committerkub <derkub@gmail.com>
Tue, 7 Feb 2023 23:10:22 +0000 (23:10 +0000)
pico/pico_cmn.c

index 27ed5fd..1644b0c 100644 (file)
@@ -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();