]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
OCS/ECS "7-planes" mode didn't enable EHB.
authorToni Wilen <twilen@winuae.net>
Wed, 22 Oct 2025 14:58:52 +0000 (17:58 +0300)
committerToni Wilen <twilen@winuae.net>
Wed, 22 Oct 2025 14:58:52 +0000 (17:58 +0300)
drawing.cpp

index 89eebed6e481ab7a0530bfb2ebaedf9007e63b03..0a8052964b0850ce85acd282a2fc0638d3d827d6 100644 (file)
@@ -2764,7 +2764,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));
+       bplehb = (denise_planes == 6 || (!aga_mode && denise_planes == 7)) && !bplham && !bpldualpf && (!ecs_denise || !(bplcon2_denise & 0x200));
 
        // BYPASS: HAM and EHB select bits are ignored
        bpland = 0xff;