summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/system16.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/system16.cpp')
-rw-r--r--src/mame/drivers/system16.cpp18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/mame/drivers/system16.cpp b/src/mame/drivers/system16.cpp
index 59599671216..b3255f63472 100644
--- a/src/mame/drivers/system16.cpp
+++ b/src/mame/drivers/system16.cpp
@@ -2085,7 +2085,8 @@ MACHINE_CONFIG_START(segas1x_bootleg_state::z80_ym2151)
MCFG_DEVICE_IO_MAP(sound_io_map)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("ymsnd", YM2151, 4000000)
MCFG_SOUND_ROUTE(0, "lspeaker", 0.32)
@@ -2105,7 +2106,8 @@ MACHINE_CONFIG_START(segas1x_bootleg_state::z80_ym2151_upd7759)
MCFG_DEVICE_IO_MAP(sound_7759_io_map)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("ymsnd", YM2151, 4000000)
MCFG_SOUND_ROUTE(0, "lspeaker", 0.32)
@@ -2127,7 +2129,8 @@ MACHINE_CONFIG_START(segas1x_bootleg_state::datsu_ym2151_msm5205)
MCFG_DEVICE_PROGRAM_MAP(tturfbl_sound_map)
MCFG_DEVICE_IO_MAP(tturfbl_sound_io_map)
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("ymsnd", YM2151, 4000000)
MCFG_SOUND_ROUTE(0, "lspeaker", 0.32)
@@ -2145,7 +2148,7 @@ MACHINE_CONFIG_START(segas1x_bootleg_state::datsu_2x_ym2203_msm5205)
MCFG_DEVICE_PROGRAM_MAP(shinobi_datsu_sound_map)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
// 2x YM2203C, one at U57, one at U56
MCFG_DEVICE_ADD("ym1", YM2203, 4000000)
@@ -2470,7 +2473,8 @@ MACHINE_CONFIG_START(segas1x_bootleg_state::system18)
MCFG_BOOTLEG_SYS16B_SPRITES_XORIGIN(189-107)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
@@ -2531,7 +2535,7 @@ MACHINE_CONFIG_START(segas1x_bootleg_state::astormb2)
MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("soundcpu", 0))
// 1 OKI M6295 instead of original sound hardware
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("oki", OKIM6295, XTAL(8'000'000)/8, okim6295_device::PIN7_HIGH) // 1MHz clock and pin verified
MCFG_DEVICE_ADDRESS_MAP(0, sys18bl_oki_map)
@@ -2625,7 +2629,7 @@ MACHINE_CONFIG_START(segas1x_bootleg_state::ddcrewbl)
MCFG_MACHINE_RESET_OVERRIDE(segas1x_bootleg_state,ddcrewbl)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("oki", OKIM6295, 10000000/10, okim6295_device::PIN7_HIGH) // clock and pin not verified
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END