summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/badlands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/badlands.cpp')
-rw-r--r--src/mame/drivers/badlands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/badlands.cpp b/src/mame/drivers/badlands.cpp
index 9c5eedaa968..544c71dde06 100644
--- a/src/mame/drivers/badlands.cpp
+++ b/src/mame/drivers/badlands.cpp
@@ -449,7 +449,7 @@ MACHINE_CONFIG_START(badlands_state::badlands)
MCFG_DEVICE_ADD("audiocpu", M6502, ATARI_CLOCK_14MHz/8)
MCFG_DEVICE_PROGRAM_MAP(audio_map)
- MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", badlands_state, sound_scanline, "screen", 0, 1)
+ TIMER(config, "scantimer").configure_scanline(FUNC(badlands_state::sound_scanline), "screen", 0, 1);
MCFG_MACHINE_START_OVERRIDE(badlands_state,badlands)
MCFG_MACHINE_RESET_OVERRIDE(badlands_state,badlands)