summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/pacman.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/pacman.cpp')
-rw-r--r--src/mame/video/pacman.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/video/pacman.cpp b/src/mame/video/pacman.cpp
index cda16a3ea48..a0bc5e2eafd 100644
--- a/src/mame/video/pacman.cpp
+++ b/src/mame/video/pacman.cpp
@@ -171,7 +171,7 @@ VIDEO_START_MEMBER(pacman_state,pacman)
/* one pixel to the left to get a more correct placement */
m_xoffsethack = 1;
- m_bg_tilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(FUNC(pacman_state::pacman_get_tile_info),this), tilemap_mapper_delegate(FUNC(pacman_state::pacman_scan_rows),this), 8, 8, 36, 28 );
+ m_bg_tilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(*this, FUNC(pacman_state::pacman_get_tile_info)), tilemap_mapper_delegate(*this, FUNC(pacman_state::pacman_scan_rows)), 8, 8, 36, 28);
}
VIDEO_START_MEMBER(pacman_state,birdiy)
@@ -320,7 +320,7 @@ VIDEO_START_MEMBER(pacman_state,pengo)
m_inv_spr = 0;
m_xoffsethack = 0;
- m_bg_tilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(FUNC(pacman_state::pacman_get_tile_info),this), tilemap_mapper_delegate(FUNC(pacman_state::pacman_scan_rows),this), 8, 8, 36, 28 );
+ m_bg_tilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(*this, FUNC(pacman_state::pacman_get_tile_info)), tilemap_mapper_delegate(*this, FUNC(pacman_state::pacman_scan_rows)), 8, 8, 36, 28);
}
WRITE_LINE_MEMBER(pacman_state::pengo_palettebank_w)
@@ -374,7 +374,7 @@ VIDEO_START_MEMBER(pacman_state,s2650games)
m_inv_spr = 0;
m_xoffsethack = 1;
- m_bg_tilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(FUNC(pacman_state::s2650_get_tile_info),this),TILEMAP_SCAN_ROWS,8,8,32,32 );
+ m_bg_tilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(*this, FUNC(pacman_state::s2650_get_tile_info)), TILEMAP_SCAN_ROWS, 8, 8, 32, 32);
m_bg_tilemap->set_scroll_cols(32);
}
@@ -542,7 +542,7 @@ VIDEO_START_MEMBER(pacman_state,jrpacman)
m_inv_spr = 0;
m_xoffsethack = 1;
- m_bg_tilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(FUNC(pacman_state::jrpacman_get_tile_info),this),tilemap_mapper_delegate(FUNC(pacman_state::jrpacman_scan_rows),this),8,8,36,54 );
+ m_bg_tilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(*this, FUNC(pacman_state::jrpacman_get_tile_info)), tilemap_mapper_delegate(*this, FUNC(pacman_state::jrpacman_scan_rows)), 8, 8, 36, 54);
m_bg_tilemap->set_transparent_pen(0 );
m_bg_tilemap->set_scroll_cols(36 );