From: Toni Wilen Date: Mon, 13 Jan 2025 19:34:52 +0000 (+0200) Subject: Fix BPLCON4 update X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=61a123036148f138b4818c9321ada343bf550c03;p=francis%2Fwinuae.git Fix BPLCON4 update --- diff --git a/drawing.cpp b/drawing.cpp index 694f86f9..6c0fc6ce 100644 --- a/drawing.cpp +++ b/drawing.cpp @@ -2780,7 +2780,7 @@ static void expand_bplcon4_spr(uae_u16 v) static void expand_bplcon4_bm(uae_u16 v) { bplcon4_denise &= 0x00ff; - bplcon4_denise = v & 0xff00; + bplcon4_denise |= v & 0xff00; // Sprite bank change is 1 hires pixel faster than bitplane XOR change if (aga_mode && (bplcon4_denise >> 8) != bplcon4_denise_xor_val2) { bplcon4_denise_xor_val2 = bplcon4_denise >> 8;