summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/imagedev
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/devices/imagedev
parent7e53d69069e50166987437ec45a036d203b13d56 (diff)
imagedev\floppy: removed MCFG macros (nw)
Diffstat (limited to 'src/devices/imagedev')
-rw-r--r--src/devices/imagedev/floppy.cpp5
-rw-r--r--src/devices/imagedev/floppy.h13
2 files changed, 2 insertions, 16 deletions
diff --git a/src/devices/imagedev/floppy.cpp b/src/devices/imagedev/floppy.cpp
index 70362e876fb..5a7c362f42a 100644
--- a/src/devices/imagedev/floppy.cpp
+++ b/src/devices/imagedev/floppy.cpp
@@ -987,9 +987,8 @@ uint32_t floppy_image_device::get_variant() const
//===================================================================
// Floppy sound
//
-// In order to enable floppy sound you must add the line
-// MCFG_FLOPPY_DRIVE_SOUND(true)
-// after MCFG_FLOPPY_DRIVE_ADD
+// In order to enable floppy sound you must call
+// enable_sound(true)
// and you must put audio samples (44100Hz, mono) with names as
// shown in floppy_sample_names into the directory samples/floppy
// Sound will be disabled when these samples are missing.
diff --git a/src/devices/imagedev/floppy.h b/src/devices/imagedev/floppy.h
index 51b588bfd3a..6223933c74e 100644
--- a/src/devices/imagedev/floppy.h
+++ b/src/devices/imagedev/floppy.h
@@ -25,19 +25,6 @@
#include "sound/samples.h"
#include "softlist_dev.h"
-#define MCFG_FLOPPY_DRIVE_ADD(_tag, _slot_intf, _def_slot, _formats) \
- MCFG_DEVICE_ADD(_tag, FLOPPY_CONNECTOR, 0) \
- MCFG_DEVICE_SLOT_INTERFACE(_slot_intf, _def_slot, false) \
- static_cast<floppy_connector *>(device)->set_formats(_formats);
-
-#define MCFG_FLOPPY_DRIVE_ADD_FIXED(_tag, _slot_intf, _def_slot, _formats) \
- MCFG_DEVICE_ADD(_tag, FLOPPY_CONNECTOR, 0) \
- MCFG_DEVICE_SLOT_INTERFACE(_slot_intf, _def_slot, true) \
- static_cast<floppy_connector *>(device)->set_formats(_formats);
-
-#define MCFG_FLOPPY_DRIVE_SOUND(_doit) \
- static_cast<floppy_connector *>(device)->enable_sound(_doit);
-
#define DECLARE_FLOPPY_FORMATS(_name) \
static const floppy_format_type _name []