summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/shootout.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/shootout.c')
-rw-r--r--src/mame/video/shootout.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mame/video/shootout.c b/src/mame/video/shootout.c
index 8c6c27a285e..8f5f31c9b2f 100644
--- a/src/mame/video/shootout.c
+++ b/src/mame/video/shootout.c
@@ -63,13 +63,13 @@ TILE_GET_INFO_MEMBER(shootout_state::get_fg_tile_info)
0);
}
-WRITE8_MEMBER(shootout_state::shootout_videoram_w)
+WRITE8_MEMBER(shootout_state::videoram_w)
{
m_videoram[offset] = data;
m_background->mark_tile_dirty(offset&0x3ff );
}
-WRITE8_MEMBER(shootout_state::shootout_textram_w)
+WRITE8_MEMBER(shootout_state::textram_w)
{
m_textram[offset] = data;
m_foreground->mark_tile_dirty(offset&0x3ff );
@@ -80,13 +80,14 @@ void shootout_state::video_start()
m_background = &machine().tilemap().create(m_gfxdecode, tilemap_get_info_delegate(FUNC(shootout_state::get_bg_tile_info),this), TILEMAP_SCAN_ROWS, 8, 8, 32, 32);
m_foreground = &machine().tilemap().create(m_gfxdecode, tilemap_get_info_delegate(FUNC(shootout_state::get_fg_tile_info),this), TILEMAP_SCAN_ROWS, 8, 8, 32, 32);
m_foreground->set_transparent_pen(0 );
+
+ save_item(NAME(m_bFlicker));
}
void shootout_state::draw_sprites(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, int bank_bits )
{
- UINT8 *spriteram = m_spriteram;
gfx_element *gfx = m_gfxdecode->gfx(1);
- const UINT8 *source = spriteram+127*4;
+ const UINT8 *source = m_spriteram+127*4;
int count;
m_bFlicker = !m_bFlicker;