summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mz80.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mz80.cpp')
-rw-r--r--src/mame/drivers/mz80.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/mz80.cpp b/src/mame/drivers/mz80.cpp
index ac4c703cbb2..247b3944651 100644
--- a/src/mame/drivers/mz80.cpp
+++ b/src/mame/drivers/mz80.cpp
@@ -318,9 +318,9 @@ MACHINE_CONFIG_START(mz80_state::mz80k)
m_pit->out_handler<2>().set(FUNC(mz80_state::pit_out2_changed));
TIMER(config, "tempo").configure_periodic(FUNC(mz80_state::ne555_tempo_callback), attotime::from_hz(34));
- MCFG_CASSETTE_ADD( "cassette" )
- MCFG_CASSETTE_FORMATS(mz700_cassette_formats)
- MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED)
+ CASSETTE(config, m_cassette);
+ m_cassette->set_formats(mz700_cassette_formats);
+ m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED);
MACHINE_CONFIG_END
void mz80_state::mz80kj(machine_config &config)