From 5026fdb90b7ee50fde9c392700e45d09e70a9d12 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Tue, 7 Jan 2025 20:55:36 +0200 Subject: [PATCH] Handle situation where EHB is active but plane count is less than 6. --- drawing.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drawing.cpp b/drawing.cpp index 42c6cc08..606852ad 100644 --- a/drawing.cpp +++ b/drawing.cpp @@ -5006,6 +5006,9 @@ static void select_lts(void) if (denise_max_planes <= 4 && bplmode_new == CMODE_HAM) { bplmode_new = CMODE_NORMAL; } + if (denise_max_planes <= 5 && (bplmode_new == CMODE_EXTRAHB || bplmode_new == CMODE_EXTRAHB_ECS_KILLEHB)) { + bplmode_new = CMODE_NORMAL; + } if (aga_mode) { -- 2.47.3