From 710971250a038ae38189f42dd0711a65830079e4 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sun, 14 Apr 2024 19:40:30 +0300 Subject: [PATCH] Fix ECS superhires sprite. --- drawing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drawing.cpp b/drawing.cpp index 55d7fed1..3413f939 100644 --- a/drawing.cpp +++ b/drawing.cpp @@ -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); -- 2.47.3