]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Fix EHB
authorToni Wilen <twilen@winuae.net>
Mon, 17 Mar 2025 18:20:46 +0000 (20:20 +0200)
committerToni Wilen <twilen@winuae.net>
Mon, 17 Mar 2025 18:20:46 +0000 (20:20 +0200)
drawing.cpp

index 155675864744bcf10db787ed495ad596e1fa7127..b06a1fa17b38da665bb34f5483cb80ec80581be8 100644 (file)
@@ -2666,7 +2666,7 @@ static void setbplmode(void)
 {
        bplham = (bplcon0_denise & 0x800) != 0;
        bpldualpf = (bplcon0_denise & 0x400) == 0x400;
-       bplehb = denise_planes == 6 && !bplham && !bpldualpf && (!ecs_denise || !(bplcon2_denise & 0x200 || !(bplcon0_denise & 1)));
+       bplehb = denise_planes == 6 && !bplham && !bpldualpf && (!ecs_denise || !(bplcon2_denise & 0x200) || !(bplcon0_denise & 1));
 
        // BYPASS: HAM and EHB select bits are ignored
        bpland = 0xff;