diff options
Diffstat (limited to 'src/devices/bus/cpc/doubler.cpp')
-rw-r--r-- | src/devices/bus/cpc/doubler.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/devices/bus/cpc/doubler.cpp b/src/devices/bus/cpc/doubler.cpp index e9ed2e5b5f4..ce89c0819dd 100644 --- a/src/devices/bus/cpc/doubler.cpp +++ b/src/devices/bus/cpc/doubler.cpp @@ -16,15 +16,14 @@ DEFINE_DEVICE_TYPE(CPC_DOUBLER, cpc_doubler_device, "cpc_doubler", "Draysoft Doubler") -void cpc_doubler_device::device_add_mconfig(machine_config &config) -{ - CASSETTE(config, m_tape); - m_tape->set_formats(cdt_cassette_formats); - m_tape->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED); - m_tape->set_interface("cpc_cass"); +MACHINE_CONFIG_START(cpc_doubler_device::device_add_mconfig) + MCFG_CASSETTE_ADD( "doubler_tape" ) + MCFG_CASSETTE_FORMATS(cdt_cassette_formats) + MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED) + MCFG_CASSETTE_INTERFACE("cpc_cass") // no pass-through seen on remake PCBs, unknown if actual hardware had a pass-through port or not -} +MACHINE_CONFIG_END //************************************************************************** |