diff options
Diffstat (limited to 'src/mame/drivers/orao.cpp')
-rw-r--r-- | src/mame/drivers/orao.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/orao.cpp b/src/mame/drivers/orao.cpp index f8f98b1934e..734033e5567 100644 --- a/src/mame/drivers/orao.cpp +++ b/src/mame/drivers/orao.cpp @@ -193,10 +193,10 @@ MACHINE_CONFIG_START(orao_state::orao) SPEAKER_SOUND(config, "speaker").add_route(ALL_OUTPUTS, "mono", 0.50); WAVE(config, "wave", "cassette").add_route(ALL_OUTPUTS, "mono", 0.25); - MCFG_CASSETTE_ADD( "cassette") - MCFG_CASSETTE_FORMATS(orao_cassette_formats) - MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_STOPPED | CASSETTE_SPEAKER_ENABLED | CASSETTE_MOTOR_ENABLED) - MCFG_CASSETTE_INTERFACE("orao_cass") + CASSETTE(config, m_cassette); + m_cassette->set_formats(orao_cassette_formats); + m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_SPEAKER_ENABLED | CASSETTE_MOTOR_ENABLED); + m_cassette->set_interface("orao_cass"); MCFG_SOFTWARE_LIST_ADD("cass_list","orao") MACHINE_CONFIG_END |