summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/msx_cart/msx_audio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/msx_cart/msx_audio.cpp')
-rw-r--r--src/devices/bus/msx_cart/msx_audio.cpp24
1 files changed, 3 insertions, 21 deletions
diff --git a/src/devices/bus/msx_cart/msx_audio.cpp b/src/devices/bus/msx_cart/msx_audio.cpp
index ed91ed28732..75c0ccd7598 100644
--- a/src/devices/bus/msx_cart/msx_audio.cpp
+++ b/src/devices/bus/msx_cart/msx_audio.cpp
@@ -80,7 +80,7 @@ msx_cart_msx_audio_hxmu900_device::msx_cart_msx_audio_hxmu900_device(const machi
}
-static MACHINE_CONFIG_START( msx_audio_hxmu900 )
+MACHINE_CONFIG_MEMBER( msx_cart_msx_audio_hxmu900_device::device_add_mconfig )
// This is actually incorrect. The sound output is passed back into the MSX machine where it is mixed internally and output through the system 'speaker'.
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("y8950", Y8950, XTAL_3_579545MHz) // Not verified
@@ -92,12 +92,6 @@ static MACHINE_CONFIG_START( msx_audio_hxmu900 )
MACHINE_CONFIG_END
-machine_config_constructor msx_cart_msx_audio_hxmu900_device::device_mconfig_additions() const
-{
- return MACHINE_CONFIG_NAME( msx_audio_hxmu900 );
-}
-
-
void msx_cart_msx_audio_hxmu900_device::device_start()
{
// Install IO read/write handlers
@@ -151,7 +145,7 @@ msx_cart_msx_audio_nms1205_device::msx_cart_msx_audio_nms1205_device(const machi
}
-static MACHINE_CONFIG_START( msx_audio_nms1205 )
+MACHINE_CONFIG_MEMBER( msx_cart_msx_audio_nms1205_device::device_add_mconfig )
// This is actually incorrect. The sound output is passed back into the MSX machine where it is mixed internally and output through the system 'speaker'.
// At the same time the sound is also output on two output on the nms1205 cartridge itself
MCFG_SPEAKER_STANDARD_MONO("mono")
@@ -176,12 +170,6 @@ static MACHINE_CONFIG_START( msx_audio_nms1205 )
MACHINE_CONFIG_END
-machine_config_constructor msx_cart_msx_audio_nms1205_device::device_mconfig_additions() const
-{
- return MACHINE_CONFIG_NAME( msx_audio_nms1205 );
-}
-
-
ROM_START( msx_nms1205 )
ROM_REGION(0x8000, "y8950", ROMREGION_ERASE00)
ROM_END
@@ -260,7 +248,7 @@ msx_cart_msx_audio_fsca1_device::msx_cart_msx_audio_fsca1_device(const machine_c
}
-static MACHINE_CONFIG_START( msx_audio_fsca1 )
+MACHINE_CONFIG_MEMBER( msx_cart_msx_audio_fsca1_device::device_add_mconfig )
// This is actually incorrect. The sound output is passed back into the MSX machine where it is mixed internally and output through the system 'speaker'.
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("y8950", Y8950, XTAL_3_579545MHz)
@@ -274,12 +262,6 @@ static MACHINE_CONFIG_START( msx_audio_fsca1 )
MACHINE_CONFIG_END
-machine_config_constructor msx_cart_msx_audio_fsca1_device::device_mconfig_additions() const
-{
- return MACHINE_CONFIG_NAME( msx_audio_fsca1 );
-}
-
-
static INPUT_PORTS_START( msx_audio_fsca1 )
PORT_START("CONFIG")
PORT_CONFNAME( 0x04, 0x04, "FS-CA1 Firmware switch")