summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/e100.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/e100.cpp')
-rw-r--r--src/mame/drivers/e100.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/e100.cpp b/src/mame/drivers/e100.cpp
index faffc4cebb0..d0727fb9da6 100644
--- a/src/mame/drivers/e100.cpp
+++ b/src/mame/drivers/e100.cpp
@@ -585,8 +585,8 @@ MACHINE_CONFIG_START(e100_state::e100)
* Once created it may be given on the commandline or mounted via TAB and select
* E100 supports cassette through the 'LOAD' and 'SAVE' commands with no arguments
*/
- MCFG_CASSETTE_ADD( "cassette" )
- MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_STOPPED | CASSETTE_SPEAKER_MUTED | CASSETTE_MOTOR_ENABLED)
+ CASSETTE(config, m_cassette);
+ m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_SPEAKER_MUTED | CASSETTE_MOTOR_ENABLED);
/* screen TODO: simplify the screen config, look at zx.cpp */
MCFG_SCREEN_ADD("screen", RASTER)