summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/iqblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/iqblock.c')
-rw-r--r--src/mame/video/iqblock.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/mame/video/iqblock.c b/src/mame/video/iqblock.c
index a510a83349c..6454ffd7789 100644
--- a/src/mame/video/iqblock.c
+++ b/src/mame/video/iqblock.c
@@ -83,12 +83,11 @@ WRITE8_MEMBER(iqblock_state::iqblock_fgscroll_w)
***************************************************************************/
-SCREEN_UPDATE_IND16( iqblock )
+UINT32 iqblock_state::screen_update_iqblock(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
- iqblock_state *state = screen.machine().driver_data<iqblock_state>();
- if (!state->m_videoenable) return 0;
- state->m_fg_tilemap->draw(bitmap, cliprect, 0,0);
- state->m_bg_tilemap->draw(bitmap, cliprect, 0,0);
+ if (!m_videoenable) return 0;
+ m_fg_tilemap->draw(bitmap, cliprect, 0,0);
+ m_bg_tilemap->draw(bitmap, cliprect, 0,0);
return 0;
}