diff options
Diffstat (limited to 'src/mame/drivers/kc.cpp')
-rw-r--r-- | src/mame/drivers/kc.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mame/drivers/kc.cpp b/src/mame/drivers/kc.cpp index 7456eacfe32..296c607349a 100644 --- a/src/mame/drivers/kc.cpp +++ b/src/mame/drivers/kc.cpp @@ -134,16 +134,16 @@ MACHINE_CONFIG_START(kc_state::kc85_3) /* 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); /* devices */ MCFG_QUICKLOAD_ADD("quickload", kc_state, kc, "kcc", 2) - MCFG_CASSETTE_ADD( "cassette" ) - MCFG_CASSETTE_FORMATS(kc_cassette_formats) - MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_PLAY) - MCFG_CASSETTE_INTERFACE("kc_cass") + CASSETTE(config, m_cassette); + m_cassette->set_formats(kc_cassette_formats); + m_cassette->set_default_state(CASSETTE_PLAY); + m_cassette->set_interface("kc_cass"); /* cartridge slot */ MCFG_DEVICE_ADD("m8", KCCART_SLOT, 0) @@ -214,16 +214,16 @@ MACHINE_CONFIG_START(kc85_4_state::kc85_4) /* 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); /* devices */ MCFG_QUICKLOAD_ADD("quickload", kc_state, kc, "kcc", 2) - MCFG_CASSETTE_ADD( "cassette" ) - MCFG_CASSETTE_FORMATS(kc_cassette_formats) - MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_PLAY) - MCFG_CASSETTE_INTERFACE("kc_cass") + CASSETTE(config, m_cassette); + m_cassette->set_formats(kc_cassette_formats); + m_cassette->set_default_state(CASSETTE_PLAY); + m_cassette->set_interface("kc_cass"); /* cartridge slot */ MCFG_DEVICE_ADD("m8", KCCART_SLOT, 0) |