summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/isa/p1_sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/isa/p1_sound.cpp')
-rw-r--r--src/devices/bus/isa/p1_sound.cpp15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/devices/bus/isa/p1_sound.cpp b/src/devices/bus/isa/p1_sound.cpp
index e639be97ac2..629926f657a 100644
--- a/src/devices/bus/isa/p1_sound.cpp
+++ b/src/devices/bus/isa/p1_sound.cpp
@@ -26,10 +26,10 @@ DEFINE_DEVICE_TYPE(P1_SOUND, p1_sound_device, "p1_sound", "Poisk-1 sound card (B
//-------------------------------------------------
-// Machine config
+// device_add_mconfig - add device configuration
//-------------------------------------------------
-static MACHINE_CONFIG_START( p1_sound )
+MACHINE_CONFIG_MEMBER( p1_sound_device::device_add_mconfig )
MCFG_DEVICE_ADD("midi", I8251, 0)
MCFG_I8251_TXD_HANDLER(DEVWRITELINE("mdout", midi_port_device, write_txd))
MCFG_I8251_RXRDY_HANDLER(DEVWRITELINE(":isa", isa8_device, irq3_w))
@@ -73,17 +73,6 @@ static MACHINE_CONFIG_START( p1_sound )
MACHINE_CONFIG_END
-//-------------------------------------------------
-// machine_config_additions - device-specific
-// machine configurations
-//-------------------------------------------------
-
-machine_config_constructor p1_sound_device::device_mconfig_additions() const
-{
- return MACHINE_CONFIG_NAME(p1_sound);
-}
-
-
//**************************************************************************
// LIVE DEVICE
//**************************************************************************