From 14e443a65f7754973670902b7370527a772aa37f Mon Sep 17 00:00:00 2001 From: Andre Weissflog Date: Fri, 3 Jan 2025 19:07:18 +0100 Subject: [PATCH] m6569.h: fix sprite unit expand flag regression --- chips/m6569.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chips/m6569.h b/chips/m6569.h index a46986f9..ee9b53f0 100644 --- a/chips/m6569.h +++ b/chips/m6569.h @@ -533,7 +533,7 @@ static void _m6569_io_update_sunit(m6569_t* vic, size_t i, uint8_t mx, uint8_t m /* 1. The expansion flip flop is set as long as the bit in MxYE in register $d017 corresponding to the sprite is cleared. */ - su->expand |= ~(mye & mask); + su->expand |= ~mye & mask; } // read chip registers