mirror of
https://github.com/holub/mame
synced 2025-04-20 23:42:22 +03:00
Fix lupin3a (nw)
This commit is contained in:
parent
1908ee685a
commit
8c666a95a0
@ -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)
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user