diff options
Diffstat (limited to 'src/mame/drivers/lviv.cpp')
-rw-r--r-- | src/mame/drivers/lviv.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/lviv.cpp b/src/mame/drivers/lviv.cpp index 3af2fe67ae6..3d633bfb65b 100644 --- a/src/mame/drivers/lviv.cpp +++ b/src/mame/drivers/lviv.cpp @@ -458,16 +458,16 @@ MACHINE_CONFIG_START(lviv_state::lviv) /* 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); SPEAKER_SOUND(config, "speaker").add_route(ALL_OUTPUTS, "mono", 0.50); /* snapshot */ MCFG_SNAPSHOT_ADD("snapshot", lviv_state, lviv, "sav", 0) - MCFG_CASSETTE_ADD( "cassette" ) - MCFG_CASSETTE_FORMATS(lviv_lvt_format) - MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_STOPPED | CASSETTE_SPEAKER_ENABLED) - MCFG_CASSETTE_INTERFACE("lviv_cass") + CASSETTE(config, m_cassette); + m_cassette->set_formats(lviv_lvt_format); + m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_SPEAKER_ENABLED); + m_cassette->set_interface("lviv_cass"); MCFG_SOFTWARE_LIST_ADD("cass_list","lviv") |