diff options
author | Ivan Vangelista <mesgnet@yahoo.it> | 2019-01-22 17:47:37 +0100 |
---|---|---|
committer | Ivan Vangelista <mesgnet@yahoo.it> | 2019-01-22 17:47:37 +0100 |
commit | 064847316c75dfc448f2b2b0e53a874a24f23cdf (patch) | |
tree | b546037d288ea1fdcc495bbfc539720c78d3d466 /src/mame/drivers/mc10.cpp | |
parent | a6f64287a3acbcb6ee629774918407be30807237 (diff) |
magedev\cassette: removed MCFG macros (nw)
Diffstat (limited to 'src/mame/drivers/mc10.cpp')
-rw-r--r-- | src/mame/drivers/mc10.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/drivers/mc10.cpp b/src/mame/drivers/mc10.cpp index 4484438b2f9..1a71c0b3413 100644 --- a/src/mame/drivers/mc10.cpp +++ b/src/mame/drivers/mc10.cpp @@ -525,10 +525,10 @@ MACHINE_CONFIG_START(mc10_state::mc10) MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0) MCFG_SOUND_ROUTE(0, "dac", 1.0, DAC_VREF_POS_INPUT) - MCFG_CASSETTE_ADD("cassette") - MCFG_CASSETTE_FORMATS(coco_cassette_formats) - MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_STOPPED | CASSETTE_SPEAKER_ENABLED | CASSETTE_MOTOR_ENABLED) - MCFG_CASSETTE_INTERFACE("mc10_cass") + CASSETTE(config, m_cassette); + m_cassette->set_formats(coco_cassette_formats); + m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_SPEAKER_ENABLED | CASSETTE_MOTOR_ENABLED); + m_cassette->set_interface("mc10_cass"); /* printer */ PRINTER(config, m_printer, 0); @@ -567,10 +567,10 @@ MACHINE_CONFIG_START(mc10_state::alice32) MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0) MCFG_SOUND_ROUTE(0, "dac", 1.0, DAC_VREF_POS_INPUT) - MCFG_CASSETTE_ADD("cassette") - MCFG_CASSETTE_FORMATS(alice32_cassette_formats) - MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_STOPPED | CASSETTE_SPEAKER_ENABLED | CASSETTE_MOTOR_ENABLED) - MCFG_CASSETTE_INTERFACE("mc10_cass") + CASSETTE(config, m_cassette); + m_cassette->set_formats(alice32_cassette_formats); + m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_SPEAKER_ENABLED | CASSETTE_MOTOR_ENABLED); + m_cassette->set_interface("mc10_cass"); /* printer */ PRINTER(config, m_printer, 0); |