summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/m5.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/m5.cpp
parenta6f64287a3acbcb6ee629774918407be30807237 (diff)
magedev\cassette: removed MCFG macros (nw)
Diffstat (limited to 'src/mame/drivers/m5.cpp')
-rw-r--r--src/mame/drivers/m5.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/m5.cpp b/src/mame/drivers/m5.cpp
index ecef78735a7..b93a12dba14 100644
--- a/src/mame/drivers/m5.cpp
+++ b/src/mame/drivers/m5.cpp
@@ -1431,10 +1431,10 @@ MACHINE_CONFIG_START(m5_state::m5)
MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", CENTRONICS_TAG)
- MCFG_CASSETTE_ADD("cassette")
- MCFG_CASSETTE_FORMATS(sordm5_cassette_formats)
- MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_PLAY)
- MCFG_CASSETTE_INTERFACE("m5_cass")
+ CASSETTE(config, m_cassette);
+ m_cassette->set_formats(sordm5_cassette_formats);
+ m_cassette->set_default_state(CASSETTE_PLAY);
+ m_cassette->set_interface("m5_cass");
I8255(config, m_ppi);
m_ppi->in_pa_callback().set(FUNC(m5_state::ppi_pa_r));