]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Fix ECS superhires sprite.
authorToni Wilen <twilen@winuae.net>
Sun, 14 Apr 2024 16:40:30 +0000 (19:40 +0300)
committerToni Wilen <twilen@winuae.net>
Sun, 14 Apr 2024 16:40:30 +0000 (19:40 +0300)
drawing.cpp

index 55d7fed1574be4a878449d6629f7d63761accf15..3413f939754209ab41b74b3f71cd7c5c79bd5644 100644 (file)
@@ -1930,7 +1930,7 @@ static uae_u32 shsprite(int dpix, uae_u32 spix_val, uae_u32 v, int add, int spr)
        struct spritepixelsbuf *spb = &spritepixels[dpix];
        int sdpix = dpix;
        if (spb->flags & 2) {
-               sdpix -= add;
+               sdpix -= add >> 1;
        }
        int mask = 3;
        sprcol1 = sh_render_sprites(sdpix, bpldualpf, spix_val, 0);