]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Borderblank active: border color between bitplanes and end of display window is diffe...
authorToni Wilen <twilen@winuae.net>
Wed, 27 Mar 2019 14:55:19 +0000 (16:55 +0200)
committerToni Wilen <twilen@winuae.net>
Wed, 27 Mar 2019 14:55:19 +0000 (16:55 +0200)
drawing.cpp

index 7ac866a285707975c1a03426c39a79e1f852935b..f1879be859511c9265a651a0842f347ef6e2f255 100644 (file)
@@ -984,8 +984,8 @@ static void pfield_init_linetoscr (bool border)
        }
 
 #ifdef AGA
-       // if BPLCON4 is non-zero: it will affect background color until end of DIW.
-       if (dp_for_drawing->xor_seen) {
+       // if BPLCON4 is non-zero or borderblank: it can affect background color until end of DIW.
+       if (dp_for_drawing->xor_seen || ce_is_borderblank(colors_for_drawing.extra)) {
                if (playfield_end < linetoscr_diw_end && hblank_right_stop > playfield_end) {
                        playfield_end = linetoscr_diw_end;
                        expanded = true;