diff options
author | 2017-05-31 20:28:52 +0200 | |
---|---|---|
committer | 2017-05-31 20:28:52 +0200 | |
commit | 8b8f2db8c43fdc938f2d3e27e12a03fc86e91b63 (patch) | |
tree | 2139e9498e11d1bd8fba309a37ec23b99c22cea5 /src/devices/machine/cs4031.cpp | |
parent | 7f88e1ca5eab08e3e894626b8710cd010bef414c (diff) |
1st half of devices/machine to device_add_mconfig (nw)
Diffstat (limited to 'src/devices/machine/cs4031.cpp')
-rw-r--r-- | src/devices/machine/cs4031.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/devices/machine/cs4031.cpp b/src/devices/machine/cs4031.cpp index 6e41a39f454..af61698bbea 100644 --- a/src/devices/machine/cs4031.cpp +++ b/src/devices/machine/cs4031.cpp @@ -93,11 +93,10 @@ const float cs4031_device::m_dma_clock_divider[] = }; //------------------------------------------------- -// machine_config_additions - device-specific -// machine configurations +// device_add_mconfig - add device configuration //------------------------------------------------- -static MACHINE_CONFIG_START( cs4031 ) +MACHINE_CONFIG_MEMBER( cs4031_device::device_add_mconfig ) MCFG_DEVICE_ADD("dma1", AM9517A, 0) MCFG_I8237_OUT_HREQ_CB(DEVWRITELINE("dma2", am9517a_device, dreq0_w)) MCFG_I8237_OUT_EOP_CB(WRITELINE(cs4031_device, dma1_eop_w)) @@ -145,11 +144,6 @@ static MACHINE_CONFIG_START( cs4031 ) MCFG_MC146818_CENTURY_INDEX(0x32) MACHINE_CONFIG_END -machine_config_constructor cs4031_device::device_mconfig_additions() const -{ - return MACHINE_CONFIG_NAME( cs4031 ); -} - //************************************************************************** // LIVE DEVICE |