summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/dbz.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/dbz.cpp')
-rw-r--r--src/mame/drivers/dbz.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/dbz.cpp b/src/mame/drivers/dbz.cpp
index 0044a9b50f5..392a6f667b7 100644
--- a/src/mame/drivers/dbz.cpp
+++ b/src/mame/drivers/dbz.cpp
@@ -329,7 +329,7 @@ MACHINE_CONFIG_START(dbz_state::dbz)
/* basic machine hardware */
MCFG_DEVICE_ADD("maincpu", M68000, 16000000)
MCFG_DEVICE_PROGRAM_MAP(dbz_map)
- MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", dbz_state, dbz_scanline, "screen", 0, 1)
+ TIMER(config, "scantimer").configure_scanline(FUNC(dbz_state::dbz_scanline), "screen", 0, 1);
MCFG_DEVICE_ADD("audiocpu", Z80, 4000000)
MCFG_DEVICE_PROGRAM_MAP(dbz_sound_map)