From c1fa79626d16109581c88750026bf044102f6f81 Mon Sep 17 00:00:00 2001 From: hap Date: Tue, 26 Jun 2018 23:56:41 +0200 Subject: ddragon: revert sprite position regression (nw) --- src/mame/video/ddragon.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mame/video/ddragon.cpp b/src/mame/video/ddragon.cpp index b79ab7f911b..05b8d36125a 100644 --- a/src/mame/video/ddragon.cpp +++ b/src/mame/video/ddragon.cpp @@ -148,8 +148,8 @@ void ddragon_state::draw_sprites(bitmap_ind16 &bitmap,const rectangle &cliprect) int attr = src[i + 1]; if (attr & 0x80) /* visible */ { - int sx = 240 - (src[i + 4] | ((attr & 2) << 7)); - int sy = 232 - (src[i + 0] | ((attr & 1) << 8)); + int sx = 240 - src[i + 4] + ((attr & 2) << 7); + int sy = 232 - src[i + 0] + ((attr & 1) << 8); int size = (attr & 0x30) >> 4; int flipx = attr & 8; int flipy = attr & 4; -- cgit v1.2.3