From e6ba9c444bee2da6fc01fa6b8516d80c4570a61a Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Wed, 19 Nov 2025 19:29:27 +0200 Subject: [PATCH] Lightpen typo fix --- custom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom.cpp b/custom.cpp index 34c8d259..c036d4ad 100644 --- a/custom.cpp +++ b/custom.cpp @@ -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(); -- 2.47.3