diff options
Diffstat (limited to 'src/mame/machine/rx01.cpp')
-rw-r--r-- | src/mame/machine/rx01.cpp | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/mame/machine/rx01.cpp b/src/mame/machine/rx01.cpp index 7aee467ef9a..7ce941a73bf 100644 --- a/src/mame/machine/rx01.cpp +++ b/src/mame/machine/rx01.cpp @@ -34,10 +34,6 @@ static const floppy_interface rx01_floppy_interface = }; -MACHINE_CONFIG_START( rx01 ) - MCFG_LEGACY_FLOPPY_2_DRIVES_ADD(rx01_floppy_interface) -MACHINE_CONFIG_END - //************************************************************************** // DEVICE DEFINITIONS //************************************************************************** @@ -54,14 +50,12 @@ rx01_device::rx01_device(const machine_config &mconfig, const char *tag, device_ } //------------------------------------------------- -// machine_config_additions - device-specific -// machine configurations +// device_add_mconfig - add device configuration //------------------------------------------------- -machine_config_constructor rx01_device::device_mconfig_additions() const -{ - return MACHINE_CONFIG_NAME( rx01 ); -} +MACHINE_CONFIG_MEMBER( rx01_device::device_add_mconfig ) + MCFG_LEGACY_FLOPPY_2_DRIVES_ADD(rx01_floppy_interface) +MACHINE_CONFIG_END //------------------------------------------------- // device_start - device-specific startup |