diff options
Diffstat (limited to 'src/mame/video/pitnrun.cpp')
-rw-r--r-- | src/mame/video/pitnrun.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/pitnrun.cpp b/src/mame/video/pitnrun.cpp index 6d408cdab09..4d747a5946b 100644 --- a/src/mame/video/pitnrun.cpp +++ b/src/mame/video/pitnrun.cpp @@ -170,8 +170,8 @@ void pitnrun_state::pitnrun_palette(palette_device &palette) const void pitnrun_state::video_start() { - m_fg = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(FUNC(pitnrun_state::get_tile_info1),this),TILEMAP_SCAN_ROWS,8,8,32,32 ); - m_bg = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(FUNC(pitnrun_state::get_tile_info2),this),TILEMAP_SCAN_ROWS,8,8,32*4,32 ); + m_fg = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(*this, FUNC(pitnrun_state::get_tile_info1)), TILEMAP_SCAN_ROWS, 8, 8, 32, 32); + m_bg = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(*this, FUNC(pitnrun_state::get_tile_info2)), TILEMAP_SCAN_ROWS, 8, 8, 32*4, 32); m_fg->set_transparent_pen(0 ); m_tmp_bitmap[0] = std::make_unique<bitmap_ind16>(128,128); m_tmp_bitmap[1] = std::make_unique<bitmap_ind16>(128,128); |