summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/hitme.cpp
diff options
context:
space:
mode:
author MooglyGuy <therealmogminer@gmail.com>2018-05-16 09:37:54 +0200
committer mooglyguy <therealmogminer@gmail.com>2018-05-16 11:58:08 +0200
commitc83e2a853d4e1643fcc85b68ada3c6f7f33adea4 (patch)
tree39b249e1a0a9b2056e9815d0a284fd483338362c /src/mame/drivers/hitme.cpp
parent2242ff00893a83a113150609bd525f098d632e8d (diff)
- Removed MACHINE/SOUND/VIDEO _START/_RESET macros. This has the side effect of making machine-config overrides of these much
uglier, but this is intended to discourage ongoing use, and will be gradually eliminated.
Diffstat (limited to 'src/mame/drivers/hitme.cpp')
-rw-r--r--src/mame/drivers/hitme.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/hitme.cpp b/src/mame/drivers/hitme.cpp
index 7acef4835e5..b16be8ff95b 100644
--- a/src/mame/drivers/hitme.cpp
+++ b/src/mame/drivers/hitme.cpp
@@ -63,7 +63,7 @@ void hitme_state::video_start()
}
-VIDEO_START_MEMBER(hitme_state,barricad)
+void hitme_state::video_start_barricad()
{
m_tilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(FUNC(hitme_state::get_hitme_tile_info),this), TILEMAP_SCAN_ROWS, 8, 8, 32, 24);
}
@@ -360,7 +360,7 @@ MACHINE_CONFIG_START(hitme_state::barricad)
MCFG_GFXDECODE_MODIFY("gfxdecode", gfx_barricad)
- MCFG_VIDEO_START_OVERRIDE(hitme_state,barricad)
+ set_video_start_cb(config, driver_callback_delegate(&video_start_barricad, this));
MACHINE_CONFIG_END