]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Lightpen typo fix
authorToni Wilen <twilen@winuae.net>
Wed, 19 Nov 2025 17:29:27 +0000 (19:29 +0200)
committerToni Wilen <twilen@winuae.net>
Wed, 19 Nov 2025 17:29:27 +0000 (19:29 +0200)
custom.cpp

index 34c8d25938c4175f635a172bb6c8b7d3173e548d..c036d4ad571f1783b39befdde20d8b4458198ed6 100644 (file)
@@ -5580,7 +5580,7 @@ static void hsync_handler_pre(bool onvsync)
 
                if (!lightpen_triggered && (bplcon0 & 8)) {
                        // lightpen always triggers at the beginning of the last line
-                       if (agnus_pvb_start_line) {
+                       if (agnus_vb_start_line) {
                                vpos_lpen = vpos;
                                hpos_lpen = 1;
                                hhpos_lpen = HHPOSR();