bigsprite zoom note in taito_b too

This commit is contained in:
Michaël Banaan Ananas 2011-02-22 17:53:06 +00:00
parent 1c3c85a0d4
commit 035af8435b

View File

@ -212,6 +212,10 @@ static void draw_sprites( running_machine *machine, bitmap_t *bitmap, const rect
zoomx = zoomxlatch; zoomx = zoomxlatch;
zoomy = zoomylatch; 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; x = xlatch + (x_no * (0xff - zoomx) + 15) / 16;
y = ylatch + (y_no * (0xff - zoomy) + 15) / 16; y = ylatch + (y_no * (0xff - zoomy) + 15) / 16;
zx = xlatch + ((x_no + 1) * (0xff - zoomx) + 15) / 16 - x; zx = xlatch + ((x_no + 1) * (0xff - zoomx) + 15) / 16 - x;