diff options
Diffstat (limited to 'src/mame/drivers/glasgow.cpp')
-rw-r--r-- | src/mame/drivers/glasgow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/glasgow.cpp b/src/mame/drivers/glasgow.cpp index b11fcb4368a..de24e2ddf58 100644 --- a/src/mame/drivers/glasgow.cpp +++ b/src/mame/drivers/glasgow.cpp @@ -325,7 +325,7 @@ MACHINE_CONFIG_START(glasgow_state::glasgow) MCFG_DEVICE_ADD("beeper", BEEP, 44) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50) - MCFG_TIMER_DRIVER_ADD_PERIODIC("nmi_timer", glasgow_state, update_nmi, attotime::from_hz(50)) + TIMER(config, "nmi_timer").configure_periodic(FUNC(glasgow_state::update_nmi), attotime::from_hz(50)); MACHINE_CONFIG_END MACHINE_CONFIG_START(amsterd_state::amsterd) @@ -344,7 +344,7 @@ MACHINE_CONFIG_START(amsterd_state::dallas32) MCFG_DEVICE_PROGRAM_MAP(dallas32_mem) MCFG_DEVICE_REMOVE("nmi_timer") - MCFG_TIMER_DRIVER_ADD_PERIODIC("nmi_timer", amsterd_state, update_nmi32, attotime::from_hz(50)) + TIMER(config, "nmi_timer").configure_periodic(FUNC(amsterd_state::update_nmi32), attotime::from_hz(50)); MACHINE_CONFIG_END |