Fix lupin3a (nw)

This commit is contained in:
Olivier Galibert 2016-06-18 12:25:20 +02:00
parent 1908ee685a
commit 8c666a95a0
2 changed files with 2 additions and 1 deletions

View File

@ -1797,6 +1797,7 @@ MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( lupin3a, lupin3 )
MCFG_CPU_MODIFY("maincpu")
MCFG_CPU_PROGRAM_MAP(schaser_map)
MCFG_MACHINE_START_OVERRIDE(_8080bw_state,sflush)
/* video hardware */
MCFG_SCREEN_MODIFY("screen")
MCFG_SCREEN_UPDATE_DRIVER(_8080bw_state, screen_update_lupin3)

View File

@ -293,7 +293,7 @@ UINT32 _8080bw_state::screen_update_lupin3(screen_device &screen, bitmap_rgb32 &
UINT8 x = offs << 3;
UINT8 data = m_main_ram[offs];
UINT8 fore_color = ~m_colorram[offs & 0x1f9f] & 0x07;
UINT8 fore_color = ~m_scattered_colorram[(offs & 0x1f) | ((offs & 0x1f80) >> 2)] & 0x07;
set_8_pixels(bitmap, y, x, data, fore_color, 0);
}