diff options
Diffstat (limited to 'src/mame/machine/wangpckb.cpp')
-rw-r--r-- | src/mame/machine/wangpckb.cpp | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/src/mame/machine/wangpckb.cpp b/src/mame/machine/wangpckb.cpp index 42ee9200859..41727083683 100644 --- a/src/mame/machine/wangpckb.cpp +++ b/src/mame/machine/wangpckb.cpp @@ -109,10 +109,10 @@ ADDRESS_MAP_END //------------------------------------------------- -// MACHINE_DRIVER( wangpc_keyboard ) +// device_add_mconfig - add device configuration //------------------------------------------------- -static MACHINE_CONFIG_START( wangpc_keyboard ) +MACHINE_CONFIG_MEMBER( wangpc_keyboard_device::device_add_mconfig ) MCFG_CPU_ADD(I8051_TAG, I8051, XTAL_4MHz) MCFG_CPU_IO_MAP(wangpc_keyboard_io) MCFG_MCS51_SERIAL_TX_CB(WRITE8(wangpc_keyboard_device, mcs51_tx_callback)) @@ -126,17 +126,6 @@ MACHINE_CONFIG_END //------------------------------------------------- -// machine_config_additions - device-specific -// machine configurations -//------------------------------------------------- - -machine_config_constructor wangpc_keyboard_device::device_mconfig_additions() const -{ - return MACHINE_CONFIG_NAME( wangpc_keyboard ); -} - - -//------------------------------------------------- // INPUT_PORTS( wangpc_keyboard ) //------------------------------------------------- |