From a15f2cf498d3538279139475268c201d0964a9b6 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Wed, 16 Aug 2017 10:34:02 +0300 Subject: [PATCH] AGA bitplane special case extra check, without it many AGA programs had display corruption. --- custom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom.cpp b/custom.cpp index c580631a..d83d5fcf 100644 --- a/custom.cpp +++ b/custom.cpp @@ -2970,7 +2970,7 @@ static void decide_line (int hpos) } } - if (fetch_state == fetch_not_started || aga_plf_passed_stop2) { + if (fetch_state == fetch_not_started || (aga_plf_passed_stop2 && plfstrt >= last_decide_line_hpos)) { bool strtpassed = false; plfstate nextstate = plf_end; int hstart; -- 2.47.3