From 5277b9cabde2dd96b25d9087a7fcff703e59d4e9 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Wed, 2 Apr 2025 20:07:00 +0300 Subject: [PATCH] Fix attached sprites --- drawing.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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(); } -- 2.47.3