mirror of
https://github.com/holub/mame
synced 2025-05-19 20:29:09 +03:00
bigsprite zoom note in taito_b too
This commit is contained in:
parent
1c3c85a0d4
commit
035af8435b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user