From 4935467518ed839a5696e75aad5799d93dff51b8 Mon Sep 17 00:00:00 2001 From: Pierpaolo Prazzoli Date: Sat, 2 Jan 2010 15:46:37 +0000 Subject: [PATCH] Fixed: 03622: solomon, solomonj: Graphics Bugs --- src/mame/drivers/solomon.c | 1 + src/mame/video/solomon.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mame/drivers/solomon.c b/src/mame/drivers/solomon.c index 3fe95ae47b1..957c379ba3f 100644 --- a/src/mame/drivers/solomon.c +++ b/src/mame/drivers/solomon.c @@ -67,6 +67,7 @@ static ADDRESS_MAP_START( main_map, ADDRESS_SPACE_PROGRAM, 8 ) AM_RANGE(0xe603, 0xe603) AM_READ(solomon_0xe603_r) AM_RANGE(0xe604, 0xe604) AM_READ_PORT("DSW1") AM_RANGE(0xe605, 0xe605) AM_READ_PORT("DSW2") + AM_RANGE(0xe606, 0xe606) AM_READNOP /* watchdog? */ AM_RANGE(0xe600, 0xe600) AM_WRITE(interrupt_enable_w) AM_RANGE(0xe604, 0xe604) AM_WRITE(solomon_flipscreen_w) AM_RANGE(0xe800, 0xe800) AM_WRITE(solomon_sh_command_w) diff --git a/src/mame/video/solomon.c b/src/mame/video/solomon.c index e22257941c1..a0bb8678425 100644 --- a/src/mame/video/solomon.c +++ b/src/mame/video/solomon.c @@ -9,7 +9,7 @@ static tilemap_t *bg_tilemap, *fg_tilemap; WRITE8_HANDLER( solomon_videoram_w ) { - solomon_colorram[offset] = data; + solomon_videoram[offset] = data; tilemap_mark_tile_dirty(fg_tilemap, offset); } @@ -53,7 +53,7 @@ static TILE_GET_INFO( get_bg_tile_info ) static TILE_GET_INFO( get_fg_tile_info ) { int attr = solomon_colorram[tile_index]; - int code = solomon_colorram[tile_index] + 256 * (attr & 0x07); + int code = solomon_videoram[tile_index] + 256 * (attr & 0x07); int color = (attr & 0x70) >> 4; SET_TILE_INFO(0, code, color, 0);