From 1cfbe410c97bf00bb279633c004b396401b00106 Mon Sep 17 00:00:00 2001 From: smf- Date: Fri, 10 Dec 2021 23:50:23 +0000 Subject: [PATCH] match previous sprite position, real y coordinate has 7 subtracted from the work area so 248 should be 241. --- src/mame/video/shaolins.cpp | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/mame/video/shaolins.cpp b/src/mame/video/shaolins.cpp index 555a3c6c803..78095889aa6 100644 --- a/src/mame/video/shaolins.cpp +++ b/src/mame/video/shaolins.cpp @@ -154,20 +154,7 @@ void shaolins_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprec int flipx = !(m_spriteram[offs + 0] & 0x40); int flipy = m_spriteram[offs + 0] & 0x80; int sx = m_spriteram2[offs + 0]; - // alignment with door enemy apperances & falling gaps - //int sy = 255 - m_spriteram[offs + 1]; - int sy = 240 - m_spriteram[offs + 1]; - - // done in SW - #if 0 - if (flip_screen()) - { - sx = 240 - sx; - sy = 248 - sy; - flipx = !flipx; - flipy = !flipy; - } - #endif + int sy = 241 - m_spriteram[offs + 1]; m_gfxdecode->gfx(1)->transmask(bitmap,cliprect, code, color,