Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
02458 Color/Palette Minor Always Sep 29, 2008, 22:36 Oct 5, 2008, 22:17
Tester M.A.S.H. View Status Public Platform MAME (Self-compiled)
Assigned To couriersud Resolution Fixed OS Windows XP/Vista 32-bit
Status [?] Resolved Driver
Version 0.127u5 Fixed in Version 0.127u7 Build Normal
Fixed in Git Commit Github Pull Request #
Summary 02458: enforce: Road layer colors are wrong.
Description The Road layer colors in Enforce are wrong since MAME 0.99.
WIP (0.99): Updated the Taito Z driver [Nicola Salmoria]: Fixed road/sprite priority
(cars no longer disappear when they go over a hill in Continental Circus)... and
other changes.

Here is the fix for Enforce :
src\mame\video\taito_z.c - line 863

from
TC0150ROD_draw(screen->machine,bitmap,cliprect,-3,road_palbank << 6,1,0,1,2); // -6

to
TC0150ROD_draw(screen->machine,bitmap,cliprect,-3,0xc0,1,0,1,2); // -6

contcirc needs the road_palbank, but enforce only the value 0xc0.
Steps To Reproduce
Additional Information
Github Commit
Flags
Regression Version 0.99
Affected Sets / Systems enforce
Attached Files
png file icon enforce-0127u5.png (12,540 bytes) Sep 29, 2008, 22:36
png file icon enforce-correct.png (13,254 bytes) Sep 29, 2008, 22:36
Relationships
There are no relationship linked to this issue.
Notes
1
User avatar
No.02652
Phil Bennett
Developer
Oct 1, 2008, 11:01
edited on: Oct 1, 2008, 16:31
It's probably best to add a separate video start for enforce:

VIDEO_START( enforce )
{
    road_palbank = 0xc0;
    taitoz_core_vh_start(machine, 0);
}


EDIT: Alternatively, seeing as most of the games use a fixed road palette bank of 0xc0, maybe just change them to use that variable and set it to 0xc0 by default?