From 6d5cc4a02d55b383589f39b61c8e010855722453 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sun, 27 Nov 2016 09:28:37 +0200 Subject: [PATCH] Ignore BPLCON0 modification delay optimization if dma overrun situation. --- custom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom.cpp b/custom.cpp index d3061f23..75394e15 100644 --- a/custom.cpp +++ b/custom.cpp @@ -1240,7 +1240,7 @@ STATIC_INLINE void maybe_check (int hpos) static void bpldmainitdelay (int hpos) { SET_LINE_CYCLEBASED; - if (hpos + BPLCON_AGNUS_DELAY < 0x14) { + if (!bitplane_overrun && hpos + BPLCON_AGNUS_DELAY < 0x14) { BPLCON0_Denise (hpos, bplcon0, false); setup_fmodes (hpos); return; -- 2.47.3