From 61a123036148f138b4818c9321ada343bf550c03 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Mon, 13 Jan 2025 21:34:52 +0200 Subject: [PATCH] Fix BPLCON4 update --- drawing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.3