From 035af8435bf94524cb7a9e4aa34ba60b3c1bfab5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Banaan=20Ananas?= Date: Tue, 22 Feb 2011 17:53:06 +0000 Subject: [PATCH] bigsprite zoom note in taito_b too --- src/mame/video/taito_b.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mame/video/taito_b.c b/src/mame/video/taito_b.c index 3db54793b3e..dd932e46bcd 100644 --- a/src/mame/video/taito_b.c +++ b/src/mame/video/taito_b.c @@ -212,6 +212,10 @@ static void draw_sprites( running_machine *machine, bitmap_t *bitmap, const rect zoomx = zoomxlatch; zoomy = zoomylatch; + /* Note: like taito_f2.c, this zoom implementation is wrong, + chopped up into 16x16 sections instead of one sprite. This + is especially visible in rambo3. */ + x = xlatch + (x_no * (0xff - zoomx) + 15) / 16; y = ylatch + (y_no * (0xff - zoomy) + 15) / 16; zx = xlatch + ((x_no + 1) * (0xff - zoomx) + 15) / 16 - x;