From: Toni Wilen Date: Wed, 2 Apr 2025 17:07:00 +0000 (+0300) Subject: Fix attached sprites X-Git-Tag: 6000~113 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=5277b9cabde2dd96b25d9087a7fcff703e59d4e9;p=francis%2Fwinuae.git Fix attached sprites --- diff --git a/drawing.cpp b/drawing.cpp index 3f8d4a8b..3e0e649d 100644 --- a/drawing.cpp +++ b/drawing.cpp @@ -2583,12 +2583,7 @@ static void sprwrite(int reg, uae_u32 v) } } s->xpos = sprxp; - - if (aga_mode) { - dspr[num & ~1].attached = ((dspr[num & ~1].ctl | dspr[num | 1].ctl) & 0x80) != 0; - } else { - dspr[num & ~1].attached = (dspr[num | 1].ctl & 0x80) != 0; - } + dspr[num & ~1].attached = (dspr[num | 1].ctl & 0x80) != 0; if (s->armed) { spr_nearest(); }