Viewing Issue Advanced Details Jump to Notes ] decocass.cpp
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
03901 Color/Palette Minor Always Jun 24, 2010, 18:14 22 days ago
Tester M.A.S.H. View Status Public Platform MAME (Self-compiled)
Assigned To AJR Resolution Fixed OS
Status [?] Resolved   Driver decocass.cpp
Version 0.138u2 Fixed in Version 0.185 Build Normal
Summary 03901: castfant: Missiles color are wrong
Description The color of the missiles in Astro Fantasia (Cassette) are wrong. They are black
since ShimaPong fixed missing colors in Super Astro Fighter in MAME 0.116.
The flyer shows also another color for the missiles:
http://www.arcadeflyers.com/?page=flyer&db=videodb&id=79&image=1

The changes in MAME 0.116 in src\mame\video\decocass.c were:

drawgfx(bitmap,Machine->gfx[4],0,32 + ((color_missiles >> 4) & 7), 0,0, sx,sy, cliprect, TRANSPARENCY_PEN, 0);

to

*BITMAP_ADDR16(bitmap, sy, sx) = Machine->pens[(color_missiles >> 4) & 7];


without "32 +" !!!
If you added in src\mame\video\decocass.c (MAME 0.138u2) to lines 468 and 484
the missing 32 value:

*BITMAP_ADDR16(bitmap, sy, sx) = 32 + ((state->color_missiles >> 4) & 7);
*BITMAP_ADDR16(bitmap, sy, sx) = 32 + (state->color_missiles & 7);


..., then you have white missiles again, but this breaks Super Astro Fighter again!
Steps To Reproduce
Additional Information
Flags
Regression Version 0.116
Affected Sets / Systems castfant
Attached Files
png file icon castfant-flyer.png (160,939 bytes)  Jun 24, 2010, 18:14


There are no notes attached to this issue.