diff options
Diffstat (limited to 'src/devices/imagedev/floppy.h')
-rw-r--r-- | src/devices/imagedev/floppy.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/devices/imagedev/floppy.h b/src/devices/imagedev/floppy.h index d06ce318e27..02879b6af17 100644 --- a/src/devices/imagedev/floppy.h +++ b/src/devices/imagedev/floppy.h @@ -326,6 +326,16 @@ public: set_fixed(fixed); set_formats(formats); } + floppy_connector(const machine_config &mconfig, const char *tag, device_t *owner, const char *option, const device_type &devtype, bool is_default, const floppy_format_type *formats) + : floppy_connector(mconfig, tag, owner, 0) + { + option_reset(); + option_add(option, devtype); + if(is_default) + set_default_option(option); + set_fixed(false); + set_formats(formats); + } floppy_connector(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0); virtual ~floppy_connector(); |