diff options
Diffstat (limited to 'src/mame/video/dietgo.c')
-rw-r--r-- | src/mame/video/dietgo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/dietgo.c b/src/mame/video/dietgo.c index da059b07652..9675d25a5cb 100644 --- a/src/mame/video/dietgo.c +++ b/src/mame/video/dietgo.c @@ -5,7 +5,7 @@ UINT32 dietgo_state::screen_update_dietgo(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { - address_space &space = screen.machine().driver_data()->generic_space(); + address_space &space = machine().driver_data()->generic_space(); UINT16 flip = deco16ic_pf_control_r(m_deco_tilegen1, space, 0, 0xffff); flip_screen_set(BIT(flip, 7)); @@ -16,6 +16,6 @@ UINT32 dietgo_state::screen_update_dietgo(screen_device &screen, bitmap_ind16 &b deco16ic_tilemap_2_draw(m_deco_tilegen1, bitmap, cliprect, TILEMAP_DRAW_OPAQUE, 0); deco16ic_tilemap_1_draw(m_deco_tilegen1, bitmap, cliprect, 0, 0); - screen.machine().device<decospr_device>("spritegen")->draw_sprites(bitmap, cliprect, m_spriteram, 0x400); + machine().device<decospr_device>("spritegen")->draw_sprites(bitmap, cliprect, m_spriteram, 0x400); return 0; } |