From 29579ee8b8d775cd1788bb515ac6c1f7dc905e6d Mon Sep 17 00:00:00 2001 From: kunikuni <42865216+kunikunijp@users.noreply.github.com> Date: Sun, 16 Jun 2019 16:22:00 +0900 Subject: Update toypop.cpp --- src/mame/drivers/toypop.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mame/drivers/toypop.cpp b/src/mame/drivers/toypop.cpp index 317b35e5264..bf1bdc26aef 100644 --- a/src/mame/drivers/toypop.cpp +++ b/src/mame/drivers/toypop.cpp @@ -279,6 +279,9 @@ void namcos16_state::legacy_obj_draw(bitmap_ind16 &bitmap,const rectangle &clipr uint8_t width = ((base_spriteram[count+bank2] & 4) >> 2) + 1; uint8_t height = ((base_spriteram[count+bank2] & 8) >> 3) + 1; + tile &= ~(width - 1); + tile &= ~((height - 1) << 1); + if (flip) { fx ^= 1; -- cgit v1.2.3