summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/alphatro.cpp
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2019-01-22 17:47:37 +0100
committer Ivan Vangelista <mesgnet@yahoo.it>2019-01-22 17:47:37 +0100
commit064847316c75dfc448f2b2b0e53a874a24f23cdf (patch)
treeb546037d288ea1fdcc495bbfc539720c78d3d466 /src/mame/drivers/alphatro.cpp
parenta6f64287a3acbcb6ee629774918407be30807237 (diff)
magedev\cassette: removed MCFG macros (nw)
Diffstat (limited to 'src/mame/drivers/alphatro.cpp')
-rw-r--r--src/mame/drivers/alphatro.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/alphatro.cpp b/src/mame/drivers/alphatro.cpp
index 4c8fe4aeb54..3620ac40b0c 100644
--- a/src/mame/drivers/alphatro.cpp
+++ b/src/mame/drivers/alphatro.cpp
@@ -780,9 +780,9 @@ MACHINE_CONFIG_START(alphatro_state::alphatro)
usart_clock.signal_handler().set(m_usart, FUNC(i8251_device::write_txc));
usart_clock.signal_handler().append(m_usart, FUNC(i8251_device::write_rxc));
- MCFG_CASSETTE_ADD("cassette")
- MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_PLAY | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED)
- MCFG_CASSETTE_INTERFACE("alphatro_cass")
+ CASSETTE(config, m_cass);
+ m_cass->set_default_state(CASSETTE_PLAY | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED);
+ m_cass->set_interface("alphatro_cass");
MCFG_SOFTWARE_LIST_ADD("cass_list","alphatro_cass")
TIMER(config, "timer_c").configure_periodic(FUNC(alphatro_state::timer_c), attotime::from_hz(4800));