summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/ms0515.cpp
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2019-01-28 18:07:26 +0100
committer Ivan Vangelista <mesgnet@yahoo.it>2019-01-28 18:07:26 +0100
commitc2da3565d51bfcae7528585414e562d54c0c2138 (patch)
tree862085e17fa5cc5eff8cd1e66a65bd0d6ee332e6 /src/mame/drivers/ms0515.cpp
parent7e53d69069e50166987437ec45a036d203b13d56 (diff)
imagedev\floppy: removed MCFG macros (nw)
Diffstat (limited to 'src/mame/drivers/ms0515.cpp')
-rw-r--r--src/mame/drivers/ms0515.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mame/drivers/ms0515.cpp b/src/mame/drivers/ms0515.cpp
index d8940b439b0..15ba8d59204 100644
--- a/src/mame/drivers/ms0515.cpp
+++ b/src/mame/drivers/ms0515.cpp
@@ -540,10 +540,8 @@ MACHINE_CONFIG_START(ms0515_state::ms0515)
PALETTE(config, "palette", FUNC(ms0515_state::ms0515_palette), 16);
KR1818VG93(config, m_fdc, 1000000);
- MCFG_FLOPPY_DRIVE_ADD("vg93:0", ms0515_floppies, "525qd", ms0515_state::floppy_formats)
- MCFG_FLOPPY_DRIVE_SOUND(true)
- MCFG_FLOPPY_DRIVE_ADD("vg93:1", ms0515_floppies, "525qd", ms0515_state::floppy_formats)
- MCFG_FLOPPY_DRIVE_SOUND(true)
+ FLOPPY_CONNECTOR(config, "vg93:0", ms0515_floppies, "525qd", ms0515_state::floppy_formats).enable_sound(true);
+ FLOPPY_CONNECTOR(config, "vg93:1", ms0515_floppies, "525qd", ms0515_state::floppy_formats).enable_sound(true);
i8255_device &ppi(I8255(config, "ppi8255_1"));
ppi.out_pa_callback().set(FUNC(ms0515_state::ms0515_porta_w));