1
0
mirror of https://github.com/mist-devel/mist-board.git synced 2026-02-05 23:54:41 +00:00

[C16] Fix videocounter latching condition

Fixes Pets Rescue title screen
This commit is contained in:
Gyorgy Szombathelyi
2019-09-19 21:15:14 +02:00
parent c5b061fbcf
commit 9c444892ad

View File

@@ -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