From 9c444892ad458233a7f355088d208fd28bc328f2 Mon Sep 17 00:00:00 2001 From: Gyorgy Szombathelyi Date: Thu, 19 Sep 2019 21:15:14 +0200 Subject: [PATCH] [C16] Fix videocounter latching condition Fixes Pets Rescue title screen --- cores/c16/ted.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/c16/ted.v b/cores/c16/ted.v index 86aecf3..f6e9f32 100644 --- a/cores/c16/ted.v +++ b/cores/c16/ted.v @@ -741,7 +741,7 @@ always @(posedge clk) begin if(hpos_392 & videoline==EOS) // clear videocounter reload register at last line videocounter_reload<=0; - else if(VertSubCount==6 && latch_charposition && VertSubActive) // Latch videocounter position at 6th line of a character row + else if(VertSubCount==6 && latch_charposition && enabledisplay) // Latch videocounter position at 6th line of a character row videocounter_reload<=videocounter; end