From ef01f9c2dc2d4adc07402e635f708e3137c6fd43 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sun, 25 Dec 2022 20:04:09 +0200 Subject: [PATCH] Fix single scanline graphics corruption in some rare situations --- custom.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom.cpp b/custom.cpp index 734a185c..7a528cd0 100644 --- a/custom.cpp +++ b/custom.cpp @@ -5664,8 +5664,8 @@ static void reset_decisions_hsync_start(void) // workaround for glitches in faster modes // update Denise state immediately if bitplane DMA is idle and shifters are empty if (!bprun && !plane0 && !plane0p) { - bplcon0d = BPLCON0_Denise_mask(bplcon0); - toscr_nr_planes_shifter = GET_PLANES(bplcon0d); + uae_u16 bcon0 = BPLCON0_Denise_mask(bplcon0); + toscr_nr_planes_shifter = GET_PLANES(bcon0); } toscr_nr_planes2 = GET_PLANES(bplcon0d); -- 2.47.3