summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/pet/c2n.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/pet/c2n.cpp')
-rw-r--r--src/devices/bus/pet/c2n.cpp15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/devices/bus/pet/c2n.cpp b/src/devices/bus/pet/c2n.cpp
index 4085a0ada88..990d17d0c9c 100644
--- a/src/devices/bus/pet/c2n.cpp
+++ b/src/devices/bus/pet/c2n.cpp
@@ -21,10 +21,10 @@ DEFINE_DEVICE_TYPE(C1531, c1531_device, "c1531", "Commodore 1531 Datassette")
//-------------------------------------------------
-// MACHINE_CONFIG( c2n )
+// device_add_mconfig - add device configuration
//-------------------------------------------------
-static MACHINE_CONFIG_START( c2n )
+MACHINE_CONFIG_MEMBER( c2n_device::device_add_mconfig )
MCFG_CASSETTE_ADD("cassette" )
MCFG_CASSETTE_FORMATS(cbm_cassette_formats)
MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_STOPPED | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_MUTED)
@@ -32,17 +32,6 @@ static MACHINE_CONFIG_START( c2n )
MACHINE_CONFIG_END
-//-------------------------------------------------
-// machine_config_additions - device-specific
-// machine configurations
-//-------------------------------------------------
-
-machine_config_constructor c2n_device::device_mconfig_additions() const
-{
- return MACHINE_CONFIG_NAME( c2n );
-}
-
-
//**************************************************************************
// LIVE DEVICE