From cf2507348ed41414ce2b394282ec9786f99d4c8b Mon Sep 17 00:00:00 2001 From: Angelo Salese Date: Mon, 12 Apr 2010 21:28:19 +0000 Subject: [PATCH] Fixed Wai Wai Jockey Gate-In title screen colors [Angelo Salese] --- src/mame/drivers/lasso.c | 2 +- src/mame/video/lasso.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mame/drivers/lasso.c b/src/mame/drivers/lasso.c index c8ca184b55f..b9836ada5b5 100644 --- a/src/mame/drivers/lasso.c +++ b/src/mame/drivers/lasso.c @@ -157,7 +157,7 @@ static ADDRESS_MAP_START( wwjgtin_main_map, ADDRESS_SPACE_PROGRAM, 8 ) AM_RANGE(0x1805, 0x1805) AM_READ_PORT("1805") AM_RANGE(0x1806, 0x1806) AM_READ_PORT("1806") AM_RANGE(0x1807, 0x1807) AM_READ_PORT("1807") - AM_RANGE(0x1c00, 0x1c03) AM_WRITEONLY AM_BASE_MEMBER(lasso_state, last_colors) + AM_RANGE(0x1c00, 0x1c02) AM_WRITEONLY AM_BASE_MEMBER(lasso_state, last_colors) AM_RANGE(0x1c04, 0x1c07) AM_WRITEONLY AM_BASE_MEMBER(lasso_state, track_scroll) AM_RANGE(0x4000, 0xbfff) AM_ROM AM_RANGE(0xc000, 0xffff) AM_ROM AM_REGION("maincpu", 0x8000) diff --git a/src/mame/video/lasso.c b/src/mame/video/lasso.c index cebe152b2ba..59fc54ab8a3 100644 --- a/src/mame/video/lasso.c +++ b/src/mame/video/lasso.c @@ -108,8 +108,8 @@ static void wwjgtin_set_last_four_colors( running_machine *machine, colortable_t int i; /* the last palette entries can be changed */ - for (i = 0; i < 4; i++) - colortable_palette_set_color(colortable, 0x3f - i, get_color(state->last_colors[i])); + for(i = 0; i < 3; i++) + colortable_palette_set_color(colortable, 0x3d + i, get_color(state->last_colors[i])); }