summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/quizdna.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/quizdna.cpp')
-rw-r--r--src/mame/video/quizdna.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/video/quizdna.cpp b/src/mame/video/quizdna.cpp
index ce4f2911194..9ed8ad933f1 100644
--- a/src/mame/video/quizdna.cpp
+++ b/src/mame/video/quizdna.cpp
@@ -56,10 +56,10 @@ void quizdna_state::video_start()
m_bg_ram = std::make_unique<uint8_t[]>(0x2000);
m_fg_ram = std::make_unique<uint8_t[]>(0x1000);
- m_bg_tilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(FUNC(quizdna_state::get_bg_tile_info),this),TILEMAP_SCAN_ROWS,8,8,64,32 );
- m_fg_tilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(FUNC(quizdna_state::get_fg_tile_info),this),TILEMAP_SCAN_ROWS,16,8,32,32 );
+ m_bg_tilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(*this, FUNC(quizdna_state::get_bg_tile_info)), TILEMAP_SCAN_ROWS, 8, 8, 64, 32);
+ m_fg_tilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(*this, FUNC(quizdna_state::get_fg_tile_info)), TILEMAP_SCAN_ROWS, 16, 8, 32, 32);
- m_fg_tilemap->set_transparent_pen(0 );
+ m_fg_tilemap->set_transparent_pen(0);
save_pointer(NAME(m_bg_ram), 0x2000);
save_pointer(NAME(m_fg_ram), 0x1000);