diff options
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 |
commit | 064847316c75dfc448f2b2b0e53a874a24f23cdf (patch) | |
tree | b546037d288ea1fdcc495bbfc539720c78d3d466 /src/mame/drivers/ondra.cpp | |
parent | a6f64287a3acbcb6ee629774918407be30807237 (diff) |
magedev\cassette: removed MCFG macros (nw)
Diffstat (limited to 'src/mame/drivers/ondra.cpp')
-rw-r--r-- | src/mame/drivers/ondra.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/ondra.cpp b/src/mame/drivers/ondra.cpp index 12c9f073cd2..5f51b057465 100644 --- a/src/mame/drivers/ondra.cpp +++ b/src/mame/drivers/ondra.cpp @@ -143,11 +143,11 @@ MACHINE_CONFIG_START(ondra_state::ondra) // sound hardware SPEAKER(config, "mono").front_center(); - WAVE(config, "wave", "cassette").add_route(ALL_OUTPUTS, "mono", 0.25); + WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "mono", 0.25); - MCFG_CASSETTE_ADD( "cassette" ) - MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED) - MCFG_CASSETTE_INTERFACE("ondra_cass") + CASSETTE(config, m_cassette); + m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED); + m_cassette->set_interface("ondra_cass"); MCFG_SOFTWARE_LIST_ADD("cass_list","ondra") |