From d090595539182ecc5e48afcab5400654de4df18f Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Fri, 21 Mar 2025 21:56:18 +0200 Subject: [PATCH] Fix vertical autoscale --- custom.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/custom.cpp b/custom.cpp index 74b0bf2e..a308ac88 100644 --- a/custom.cpp +++ b/custom.cpp @@ -11372,7 +11372,9 @@ static void custom_trigger_start(void) } linear_display_vpos = linear_vpos; linear_vpos++; - bpl_autoscale(); + if (vdiwstate == diw_states::DIW_waiting_stop && dmaen(DMA_BITPLANE)) { + bpl_autoscale(); + } linear_vpos_vsync++; if (beamcon0_has_vsync) { -- 2.47.3