diff options
Diffstat (limited to 'src/devices/bus/cpc/symbfac2.cpp')
-rw-r--r-- | src/devices/bus/cpc/symbfac2.cpp | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/src/devices/bus/cpc/symbfac2.cpp b/src/devices/bus/cpc/symbfac2.cpp index 87fa66ff541..3373a6eef6e 100644 --- a/src/devices/bus/cpc/symbfac2.cpp +++ b/src/devices/bus/cpc/symbfac2.cpp @@ -1,7 +1,7 @@ // license:BSD-3-Clause // copyright-holders:Barry Rodewald /* - * symbfac2.c + * symbfac2.cpp * SYMBiFACE II expansion device * - IDE * - RTC (Dallas DS1287A) @@ -27,13 +27,6 @@ DEFINE_DEVICE_TYPE(CPC_SYMBIFACE2, cpc_symbiface2_device, "cpc_symf2", "SYMBiFAC // DEVICE CONFIG INTERFACE //************************************************************************** -// device machine config -static MACHINE_CONFIG_START( cpc_symbiface2 ) - MCFG_ATA_INTERFACE_ADD("ide",ata_devices,"hdd",nullptr,false) - MCFG_DS12885_ADD("rtc") - MCFG_NVRAM_ADD_1FILL("nvram") - // no pass-through -MACHINE_CONFIG_END static INPUT_PORTS_START(cpc_symbiface2) PORT_START("sf2_mouse_x") @@ -57,11 +50,13 @@ static INPUT_PORTS_START(cpc_symbiface2) // PORT_PLAYER(1) INPUT_PORTS_END - -machine_config_constructor cpc_symbiface2_device::device_mconfig_additions() const -{ - return MACHINE_CONFIG_NAME( cpc_symbiface2 ); -} +// device machine config +MACHINE_CONFIG_MEMBER( cpc_symbiface2_device::device_add_mconfig ) + MCFG_ATA_INTERFACE_ADD("ide", ata_devices, "hdd", nullptr, false) + MCFG_DS12885_ADD("rtc") + MCFG_NVRAM_ADD_1FILL("nvram") + // no pass-through +MACHINE_CONFIG_END ioport_constructor cpc_symbiface2_device::device_input_ports() const { |