summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/apricotkb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/apricotkb.cpp')
-rw-r--r--src/mame/machine/apricotkb.cpp15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/mame/machine/apricotkb.cpp b/src/mame/machine/apricotkb.cpp
index 18fa981a287..c12d17755a6 100644
--- a/src/mame/machine/apricotkb.cpp
+++ b/src/mame/machine/apricotkb.cpp
@@ -64,10 +64,10 @@ ADDRESS_MAP_END
//-------------------------------------------------
-// MACHINE_DRIVER( apricot_keyboard )
+// device_add_mconfig - add device configuration
//-------------------------------------------------
-static MACHINE_CONFIG_START( apricot_keyboard )
+MACHINE_CONFIG_MEMBER( apricot_keyboard_device::device_add_mconfig )
#ifdef UPD7507_EMULATED
MCFG_CPU_ADD(UPD7507C_TAG, UPD7507, XTAL_32_768kHz)
MCFG_CPU_IO_MAP(apricot_keyboard_io)
@@ -76,17 +76,6 @@ MACHINE_CONFIG_END
//-------------------------------------------------
-// machine_config_additions - device-specific
-// machine configurations
-//-------------------------------------------------
-
-machine_config_constructor apricot_keyboard_device::device_mconfig_additions() const
-{
- return MACHINE_CONFIG_NAME( apricot_keyboard );
-}
-
-
-//-------------------------------------------------
// INPUT_PORTS( apricot_keyboard )
//-------------------------------------------------