summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/bankp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/bankp.c')
-rw-r--r--src/mame/video/bankp.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mame/video/bankp.c b/src/mame/video/bankp.c
index 039495deaf6..d2b94509baa 100644
--- a/src/mame/video/bankp.c
+++ b/src/mame/video/bankp.c
@@ -83,34 +83,29 @@ void bankp_state::palette_init()
WRITE8_MEMBER(bankp_state::bankp_scroll_w)
{
-
m_scroll_x = data;
}
WRITE8_MEMBER(bankp_state::bankp_videoram_w)
{
-
m_videoram[offset] = data;
m_fg_tilemap->mark_tile_dirty(offset);
}
WRITE8_MEMBER(bankp_state::bankp_colorram_w)
{
-
m_colorram[offset] = data;
m_fg_tilemap->mark_tile_dirty(offset);
}
WRITE8_MEMBER(bankp_state::bankp_videoram2_w)
{
-
m_videoram2[offset] = data;
m_bg_tilemap->mark_tile_dirty(offset);
}
WRITE8_MEMBER(bankp_state::bankp_colorram2_w)
{
-
m_colorram2[offset] = data;
m_bg_tilemap->mark_tile_dirty(offset);
}
@@ -154,7 +149,6 @@ TILE_GET_INFO_MEMBER(bankp_state::get_fg_tile_info)
void bankp_state::video_start()
{
-
m_bg_tilemap = &machine().tilemap().create(tilemap_get_info_delegate(FUNC(bankp_state::get_bg_tile_info),this), TILEMAP_SCAN_ROWS, 8, 8, 32, 32);
m_fg_tilemap = &machine().tilemap().create(tilemap_get_info_delegate(FUNC(bankp_state::get_fg_tile_info),this), TILEMAP_SCAN_ROWS, 8, 8, 32, 32);
@@ -167,7 +161,6 @@ void bankp_state::video_start()
UINT32 bankp_state::screen_update_bankp(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
-
if (flip_screen())
{
m_fg_tilemap->set_scrollx(0, -m_scroll_x);