summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/isa/gblaster.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/isa/gblaster.cpp')
-rw-r--r--src/devices/bus/isa/gblaster.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/devices/bus/isa/gblaster.cpp b/src/devices/bus/isa/gblaster.cpp
index e812827e4e6..cc838eabdc8 100644
--- a/src/devices/bus/isa/gblaster.cpp
+++ b/src/devices/bus/isa/gblaster.cpp
@@ -68,16 +68,17 @@ DEFINE_DEVICE_TYPE(ISA8_GAME_BLASTER, isa8_gblaster_device, "isa_gblaster", "Gam
// device_add_mconfig - add device configuration
//-------------------------------------------------
-MACHINE_CONFIG_START(isa8_gblaster_device::device_add_mconfig)
+void isa8_gblaster_device::device_add_mconfig(machine_config &config)
+{
SPEAKER(config, "lspeaker").front_left();
SPEAKER(config, "rspeaker").front_right();
- MCFG_SAA1099_ADD("saa1099.1", 7159090)
- MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.50)
- MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.50)
- MCFG_SAA1099_ADD("saa1099.2", 7159090)
- MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.50)
- MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.50)
-MACHINE_CONFIG_END
+ SAA1099(config, m_saa1099_1, 7159090);
+ m_saa1099_1->add_route(ALL_OUTPUTS, "lspeaker", 0.50);
+ m_saa1099_1->add_route(ALL_OUTPUTS, "rspeaker", 0.50);
+ SAA1099(config, m_saa1099_2, 7159090);
+ m_saa1099_2->add_route(ALL_OUTPUTS, "lspeaker", 0.50);
+ m_saa1099_2->add_route(ALL_OUTPUTS, "rspeaker", 0.50);
+}
//**************************************************************************
// LIVE DEVICE