diff options
| author | 2018-06-27 00:07:00 +0200 | |
|---|---|---|
| committer | 2018-06-27 00:07:00 +0200 | |
| commit | dfc00d6704cf2215d90f92106e0c393fdbfd235c (patch) | |
| tree | 130c43e55036cbdbc910c6df8c268fbdc7124039 | |
| parent | 723d46727fa30ef8d641ae2cfc361b3b8177252a (diff) | |
ddragon: revert sprite position regression (nw)
| -rw-r--r-- | src/mame/video/ddragon.cpp | 4 |
1 files 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; |
