ymfm: remove 2608/2610 ssg gain workaround

This commit is contained in:
hap 2025-04-23 22:53:12 +02:00
parent b8de7b1cbd
commit 955ac69f84
42 changed files with 137 additions and 142 deletions

View File

@ -92,8 +92,8 @@ void pc9801_86_device::pc9801_86_config(machine_config &config)
m_joy_sel = data;
});
// TODO: confirm mixing
m_opna->add_route(0, "lspeaker", 0.25);
m_opna->add_route(0, "rspeaker", 0.25);
m_opna->add_route(0, "lspeaker", 0.75);
m_opna->add_route(0, "rspeaker", 0.75);
m_opna->add_route(1, "lspeaker", 1.00);
m_opna->add_route(2, "rspeaker", 1.00);

View File

@ -50,8 +50,8 @@ void pc8801_23_device::device_add_mconfig(machine_config &config)
// m_opna->port_a_read_callback().set(FUNC(pc8801_23_device::opn_porta_r));
// m_opna->port_b_read_callback().set_ioport("OPN_PB");
// TODO: per-channel mixing is unconfirmed
m_opna->add_route(0, "^^lspeaker", 0.25);
m_opna->add_route(0, "^^rspeaker", 0.25);
m_opna->add_route(0, "^^lspeaker", 0.75);
m_opna->add_route(0, "^^rspeaker", 0.75);
m_opna->add_route(1, "^^lspeaker", 0.75);
m_opna->add_route(2, "^^rspeaker", 0.75);
}

View File

@ -308,11 +308,6 @@ protected:
// wants SSG streams first; to do this, we rotate the outputs
// by the number of SSG output channels
parent::update_internal(outputs, ChipClass::SSG_OUTPUTS);
// for the single-output case, also apply boost the gain to better match
// previous version, which summed instead of averaged the outputs
if (ChipClass::SSG_OUTPUTS == 1)
outputs[0].apply_gain(3.0);
}
};

View File

@ -3486,8 +3486,8 @@ void blzntrnd_state::blzntrnd(machine_config &config)
ym2610_device &ymsnd(YM2610(config, m_ymsnd, 16_MHz_XTAL/2));
ymsnd.irq_handler().set_inputline("audiocpu", 0);
ymsnd.add_route(0, "lspeaker", 0.25);
ymsnd.add_route(0, "rspeaker", 0.25);
ymsnd.add_route(0, "lspeaker", 0.75);
ymsnd.add_route(0, "rspeaker", 0.75);
ymsnd.add_route(1, "lspeaker", 1.0);
ymsnd.add_route(2, "rspeaker", 1.0);
}
@ -3510,9 +3510,9 @@ void blzntrnd_state::gstrik2(machine_config &config)
ym2610_device &ymsnd(YM2610(config.replace(), m_ymsnd, 16_MHz_XTAL/2));
ymsnd.irq_handler().set_inputline("audiocpu", 0);
ymsnd.add_route(0, "mono", 0.5);
ymsnd.add_route(1, "mono", 0.5);
ymsnd.add_route(2, "mono", 0.5);
ymsnd.add_route(0, "mono", 0.75);
ymsnd.add_route(1, "mono", 0.25);
ymsnd.add_route(2, "mono", 0.25);
}

View File

@ -746,7 +746,7 @@ void mcatadv_state::mcatadv(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", XTAL(16'000'000) / 2)); // verified on PCB
ymsnd.irq_handler().set_inputline(m_soundcpu, 0);
ymsnd.add_route(0, "mono", 0.32);
ymsnd.add_route(0, "mono", 1.0);
ymsnd.add_route(1, "mono", 0.5);
ymsnd.add_route(2, "mono", 0.5);
}
@ -760,7 +760,7 @@ void mcatadv_state::nost(machine_config &config)
ym2610_device *ymsnd = subdevice<ym2610_device>("ymsnd");
ymsnd->reset_routes();
ymsnd->add_route(0, "mono", 0.2);
ymsnd->add_route(0, "mono", 0.6);
ymsnd->add_route(1, "mono", 0.5);
ymsnd->add_route(2, "mono", 0.5);
}

View File

@ -1768,8 +1768,8 @@ void pc8801fh_state::pc8801fh(machine_config &config)
m_opna->port_b_write_callback().set(FUNC(pc8801fh_state::opn_portb_w));
// TODO: per-channel mixing is unconfirmed
m_opna->add_route(0, m_lspeaker, 0.25);
m_opna->add_route(0, m_rspeaker, 0.25);
m_opna->add_route(0, m_lspeaker, 0.75);
m_opna->add_route(0, m_rspeaker, 0.75);
m_opna->add_route(1, m_lspeaker, 0.75);
m_opna->add_route(2, m_rspeaker, 0.75);

View File

@ -1515,8 +1515,8 @@ void pc88va_state::pc88va(machine_config &config)
m_opna->port_b_read_callback().set(FUNC(pc88va_state::opn_portb_r));
m_opna->port_b_write_callback().set(FUNC(pc88va_state::opn_portb_w));
// TODO: per-channel mixing is unconfirmed
m_opna->add_route(0, m_lspeaker, 0.25);
m_opna->add_route(0, m_rspeaker, 0.25);
m_opna->add_route(0, m_lspeaker, 0.75);
m_opna->add_route(0, m_rspeaker, 0.75);
m_opna->add_route(1, m_lspeaker, 0.75);
m_opna->add_route(2, m_rspeaker, 0.75);

View File

@ -1971,8 +1971,8 @@ void neogeo_base_state::neogeo_stereo(machine_config &config)
SPEAKER(config, "lspeaker").front_left();
SPEAKER(config, "rspeaker").front_right();
m_ym->add_route(0, "lspeaker", 0.28);
m_ym->add_route(0, "rspeaker", 0.28);
m_ym->add_route(0, "lspeaker", 0.84);
m_ym->add_route(0, "rspeaker", 0.84);
m_ym->add_route(1, "lspeaker", 0.98);
m_ym->add_route(2, "rspeaker", 0.98);
}
@ -2009,7 +2009,7 @@ void ngarcade_base_state::neogeo_mono(machine_config &config)
{
SPEAKER(config, "speaker").front_center();
m_ym->add_route(0, "speaker", 0.28);
m_ym->add_route(0, "speaker", 0.84);
m_ym->add_route(1, "speaker", 0.49);
m_ym->add_route(2, "speaker", 0.49);
}

View File

@ -1130,7 +1130,7 @@ void psikyo_state::gunbird(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", 16_MHz_XTAL / 2));
ymsnd.irq_handler().set_inputline("audiocpu", 0);
ymsnd.add_route(ALL_OUTPUTS, "mono", 0.55);
ymsnd.add_route(ALL_OUTPUTS, "mono", 0.55);
GENERIC_LATCH_8(config, m_soundlatch);
m_soundlatch->data_pending_callback().set_inputline(m_audiocpu, INPUT_LINE_NMI);

View File

@ -524,8 +524,8 @@ void mechatt_state::mechatt(machine_config &config)
ym2608_device &ymsnd(YM2608(config, "ymsnd", 8000000));
ymsnd.irq_handler().set_inputline("audiocpu", 0);
ymsnd.add_route(0, "lspeaker", 0.15);
ymsnd.add_route(0, "rspeaker", 0.15);
ymsnd.add_route(0, "lspeaker", 0.45);
ymsnd.add_route(0, "rspeaker", 0.45);
ymsnd.add_route(1, "lspeaker", 0.80);
ymsnd.add_route(2, "rspeaker", 0.80);
}

View File

@ -966,8 +966,8 @@ public:
YM2610B(config, m_ym2610b, 16_MHz_XTAL / 2);
m_ym2610b->irq_handler().set_inputline(m_audiocpu, 0);
m_ym2610b->add_route(0, m_speaker[0], 0.25);
m_ym2610b->add_route(0, m_speaker[1], 0.25);
m_ym2610b->add_route(0, m_speaker[0], 0.75);
m_ym2610b->add_route(0, m_speaker[1], 0.75);
m_ym2610b->add_route(1, m_speaker[0], 1.0);
m_ym2610b->add_route(2, m_speaker[1], 1.0);

View File

@ -379,8 +379,8 @@ void _2mindril_state::drill(machine_config &config)
ym2610b_device &ymsnd(YM2610B(config, "ymsnd", 16000000/2));
ymsnd.irq_handler().set(FUNC(_2mindril_state::irqhandler));
ymsnd.add_route(0, "lspeaker", 0.25);
ymsnd.add_route(0, "rspeaker", 0.25);
ymsnd.add_route(0, "lspeaker", 0.75);
ymsnd.add_route(0, "rspeaker", 0.75);
ymsnd.add_route(1, "lspeaker", 1.0);
ymsnd.add_route(2, "rspeaker", 1.0);
}

View File

@ -1126,7 +1126,7 @@ void bonzeadv_state::bonzeadv(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", XTAL(16'000'000)/2));
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "mono", 0.25);
ymsnd.add_route(0, "mono", 0.75);
ymsnd.add_route(1, "mono", 1.0);
ymsnd.add_route(2, "mono", 1.0);

View File

@ -130,7 +130,7 @@ void bingowav_state::bingowav(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", 8000000));
ymsnd.irq_handler().set_inputline("audiocpu", 0);
ymsnd.add_route(0, "mono", 0.25);
ymsnd.add_route(0, "mono", 0.75);
ymsnd.add_route(1, "mono", 1.0);
ymsnd.add_route(2, "mono", 1.0);

View File

@ -195,8 +195,8 @@ void cpzodiac_state::cpzodiac(machine_config &config)
ym2610b_device &ymsnd(YM2610B(config, "ymsnd", 16_MHz_XTAL/2));
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "lspeaker", 0.25);
ymsnd.add_route(0, "rspeaker", 0.25);
ymsnd.add_route(0, "lspeaker", 0.75);
ymsnd.add_route(0, "rspeaker", 0.75);
ymsnd.add_route(1, "lspeaker", 1.0);
ymsnd.add_route(2, "rspeaker", 1.0);

View File

@ -270,15 +270,15 @@ void heromem_state::heromem(machine_config &config)
ym2610b_device &ym_l(YM2610B(config, "ym_l", 16000000 / 2));
ym_l.irq_handler().set_inputline("audiocpu_l", 0);
ym_l.add_route(0, "lspeaker", 0.25);
ym_l.add_route(0, "lspeaker", 0.25);
ym_l.add_route(0, "lspeaker", 0.75);
ym_l.add_route(0, "lspeaker", 0.75);
ym_l.add_route(1, "lspeaker", 1.0);
ym_l.add_route(2, "lspeaker", 1.0);
ym2610b_device &ym_r(YM2610B(config, "ym_r", 16000000 / 2));
ym_r.irq_handler().set_inputline("audiocpu_r", 0);
ym_r.add_route(0, "rspeaker", 0.25);
ym_r.add_route(0, "rspeaker", 0.25);
ym_r.add_route(0, "rspeaker", 0.75);
ym_r.add_route(0, "rspeaker", 0.75);
ym_r.add_route(1, "rspeaker", 1.0);
ym_r.add_route(2, "rspeaker", 1.0);
}

View File

@ -980,7 +980,7 @@ void ninjaw_state::ninjaw(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", 16000000/2));
ymsnd.irq_handler().set_inputline("audiocpu", 0);
ymsnd.add_route(0, "subwoofer", 0.25);
ymsnd.add_route(0, "subwoofer", 0.75);
ymsnd.add_route(1, "2610.1.l", 1.0);
ymsnd.add_route(1, "2610.1.r", 1.0);
ymsnd.add_route(2, "2610.2.l", 1.0);
@ -1086,7 +1086,7 @@ void ninjaw_state::darius2(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", 16000000/2));
ymsnd.irq_handler().set_inputline("audiocpu", 0);
ymsnd.add_route(0, "subwoofer", 0.25);
ymsnd.add_route(0, "subwoofer", 0.75);
ymsnd.add_route(1, "2610.1.l", 1.0);
ymsnd.add_route(1, "2610.1.r", 1.0);
ymsnd.add_route(2, "2610.2.l", 1.0);

View File

@ -631,8 +631,8 @@ void othunder_state::othunder(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", 16000000/2));
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "2610.0l", 0.25);
ymsnd.add_route(0, "2610.0r", 0.25);
ymsnd.add_route(0, "2610.0l", 0.75);
ymsnd.add_route(0, "2610.0r", 0.75);
ymsnd.add_route(1, "2610.1l", 1.0);
ymsnd.add_route(1, "2610.1r", 1.0);
ymsnd.add_route(2, "2610.2l", 1.0);

View File

@ -442,8 +442,8 @@ void slapshot_state::slapshot(machine_config &config)
ym2610b_device &ymsnd(YM2610B(config, "ymsnd", 32_MHz_XTAL/4)); /* 8 MHz */
ymsnd.irq_handler().set_inputline("audiocpu", 0);
ymsnd.add_route(0, "lspeaker", 0.25);
ymsnd.add_route(0, "rspeaker", 0.25);
ymsnd.add_route(0, "lspeaker", 0.75);
ymsnd.add_route(0, "rspeaker", 0.75);
ymsnd.add_route(1, "lspeaker", 1.0);
ymsnd.add_route(2, "rspeaker", 1.0);
@ -508,8 +508,8 @@ void slapshot_state::opwolf3(machine_config &config)
ym2610b_device &ymsnd(YM2610B(config, "ymsnd", 32_MHz_XTAL/4)); /* 8 MHz */
ymsnd.irq_handler().set_inputline("audiocpu", 0);
ymsnd.add_route(0, "lspeaker", 0.25);
ymsnd.add_route(0, "rspeaker", 0.25);
ymsnd.add_route(0, "lspeaker", 0.75);
ymsnd.add_route(0, "rspeaker", 0.75);
ymsnd.add_route(1, "lspeaker", 1.0);
ymsnd.add_route(2, "rspeaker", 1.0);

View File

@ -1900,7 +1900,7 @@ void taitob_state::rastsag2(machine_config &config)
ym2610_device &ymsnd(YM2610(config, m_ym, 16_MHz_XTAL / 2)); /* 8 MHz */
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "mono", 0.25);
ymsnd.add_route(0, "mono", 0.75);
ymsnd.add_route(1, "mono", 1.0);
ymsnd.add_route(2, "mono", 1.0);
@ -2026,7 +2026,7 @@ void taitob_state::ashura(machine_config &config)
ym2610_device &ymsnd(YM2610(config, m_ym, 16_MHz_XTAL / 2)); /* 8 MHz */
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "mono", 0.25);
ymsnd.add_route(0, "mono", 0.75);
ymsnd.add_route(1, "mono", 1.0);
ymsnd.add_route(2, "mono", 1.0);
@ -2080,7 +2080,7 @@ void taitob_state::crimec(machine_config &config)
ym2610_device &ymsnd(YM2610(config, m_ym, 16_MHz_XTAL / 2)); /* 8 MHz */
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "mono", 0.25);
ymsnd.add_route(0, "mono", 0.75);
ymsnd.add_route(1, "mono", 1.0);
ymsnd.add_route(2, "mono", 1.0);
@ -2193,7 +2193,7 @@ void rambo3_state::rambo3p(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", 16_MHz_XTAL / 2)); /* verified on pcb */
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "mono", 0.25);
ymsnd.add_route(0, "mono", 0.75);
ymsnd.add_route(1, "mono", 1.0);
ymsnd.add_route(2, "mono", 1.0);
@ -2247,7 +2247,7 @@ void rambo3_state::rambo3(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", 16_MHz_XTAL / 2)); /* 8 MHz verified on pcb */
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "mono", 0.25);
ymsnd.add_route(0, "mono", 0.75);
ymsnd.add_route(1, "mono", 1.0);
ymsnd.add_route(2, "mono", 1.0);
@ -2306,7 +2306,7 @@ void taitob_state::pbobble(machine_config &config)
ym2610b_device &ymsnd(YM2610B(config, "ymsnd", 16_MHz_XTAL / 2)); /* 8 MHz */
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "mono", 0.25);
ymsnd.add_route(0, "mono", 0.75);
ymsnd.add_route(1, "mono", 1.0);
ymsnd.add_route(2, "mono", 1.0);
@ -2365,7 +2365,7 @@ void taitob_state::spacedx(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", 16_MHz_XTAL / 2)); /* 8 MHz */
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "mono", 0.25);
ymsnd.add_route(0, "mono", 0.75);
ymsnd.add_route(1, "mono", 1.0);
ymsnd.add_route(2, "mono", 1.0);
@ -2419,7 +2419,7 @@ void taitob_state::spacedxo(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", 16_MHz_XTAL / 2)); /* 8 MHz */
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "mono", 0.25);
ymsnd.add_route(0, "mono", 0.75);
ymsnd.add_route(1, "mono", 1.0);
ymsnd.add_route(2, "mono", 1.0);
@ -2478,7 +2478,7 @@ void taitob_state::qzshowby(machine_config &config)
ym2610b_device &ymsnd(YM2610B(config, "ymsnd", 8000000));
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "mono", 0.25);
ymsnd.add_route(0, "mono", 0.75);
ymsnd.add_route(1, "mono", 1.0);
ymsnd.add_route(2, "mono", 1.0);
@ -2591,7 +2591,7 @@ void taitob_state::silentd(machine_config &config) /* ET910000B PCB */
ym2610b_device &ymsnd(YM2610B(config, "ymsnd", 16_MHz_XTAL / 2)); /* 8 MHz */
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "mono", 0.25);
ymsnd.add_route(0, "mono", 0.75);
ymsnd.add_route(1, "mono", 1.0);
ymsnd.add_route(2, "mono", 1.0);
@ -2645,7 +2645,7 @@ void taitob_state::selfeena(machine_config &config) /* ET910000A PCB */
ym2610_device &ymsnd(YM2610(config, "ymsnd", 16_MHz_XTAL / 2)); /* 8 MHz */
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "mono", 0.25);
ymsnd.add_route(0, "mono", 0.75);
ymsnd.add_route(1, "mono", 1.0);
ymsnd.add_route(2, "mono", 1.0);
@ -2717,7 +2717,7 @@ void taitob_state::sbm(machine_config &config)
ym2610b_device &ymsnd(YM2610B(config, "ymsnd", 8000000));
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "mono", 0.25);
ymsnd.add_route(0, "mono", 0.75);
ymsnd.add_route(1, "mono", 1.0);
ymsnd.add_route(2, "mono", 1.0);
@ -2775,7 +2775,7 @@ void taitob_c_state::realpunc(machine_config &config)
ym2610b_device &ymsnd(YM2610B(config, "ymsnd", 8000000));
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "mono", 0.25);
ymsnd.add_route(0, "mono", 0.75);
ymsnd.add_route(1, "mono", 1.0);
ymsnd.add_route(2, "mono", 1.0);

View File

@ -2831,8 +2831,8 @@ void taitof2_state::taito_f2(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", 24000000/3)); /* Was 16000000/2, but only a 24Mhz OSC */
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "lspeaker", 0.25);
ymsnd.add_route(0, "rspeaker", 0.25);
ymsnd.add_route(0, "lspeaker", 0.75);
ymsnd.add_route(0, "rspeaker", 0.75);
ymsnd.add_route(1, "lspeaker", 1.0);
ymsnd.add_route(2, "rspeaker", 1.0);

View File

@ -612,7 +612,7 @@ void taitoh_state::taitoh_base(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", XTAL(8'000'000)));
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "mono", 0.25);
ymsnd.add_route(0, "mono", 0.75);
ymsnd.add_route(1, "mono", 1.0);
ymsnd.add_route(2, "mono", 1.0);

View File

@ -1356,7 +1356,7 @@ void taitol_2cpu_state::raimais(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", 8_MHz_XTAL)); /* verified on pcb (8Mhz OSC is also for the 2nd z80) */
ymsnd.irq_handler().set_inputline("audiocpu", 0);
ymsnd.add_route(0, "mono", 0.25);
ymsnd.add_route(0, "mono", 0.75);
ymsnd.add_route(1, "mono", 1.0);
ymsnd.add_route(2, "mono", 1.0);

View File

@ -1054,8 +1054,8 @@ void taitox_cchip_state::superman(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", 16_MHz_XTAL / 2)); // verified on PCB
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "lspeaker", 0.25);
ymsnd.add_route(0, "rspeaker", 0.25);
ymsnd.add_route(0, "lspeaker", 0.75);
ymsnd.add_route(0, "rspeaker", 0.75);
ymsnd.add_route(1, "lspeaker", 1.0);
ymsnd.add_route(2, "rspeaker", 1.0);
@ -1139,8 +1139,8 @@ void taitox_state::gigandes(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", 8000000));
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "lspeaker", 0.25);
ymsnd.add_route(0, "rspeaker", 0.25);
ymsnd.add_route(0, "lspeaker", 0.75);
ymsnd.add_route(0, "rspeaker", 0.75);
ymsnd.add_route(1, "lspeaker", 1.0);
ymsnd.add_route(2, "rspeaker", 1.0);
@ -1183,8 +1183,8 @@ void taitox_state::ballbros(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", 8000000));
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "lspeaker", 0.25);
ymsnd.add_route(0, "rspeaker", 0.25);
ymsnd.add_route(0, "lspeaker", 0.75);
ymsnd.add_route(0, "rspeaker", 0.75);
ymsnd.add_route(1, "lspeaker", 1.0);
ymsnd.add_route(2, "rspeaker", 1.0);

View File

@ -3225,7 +3225,7 @@ void contcirc_state::contcirc(machine_config &config) //OSC: 26.686, 24.000, 16.
ym2610_device &ymsnd(YM2610(config, "ymsnd", XTAL(16'000'000)/2)); // 8 MHz
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "subwoofer", 0.20);
ymsnd.add_route(0, "subwoofer", 0.60);
ymsnd.add_route(1, "2610.1.l", 2.0);
ymsnd.add_route(1, "2610.1.r", 2.0);
ymsnd.add_route(2, "2610.2.l", 2.0);
@ -3284,7 +3284,7 @@ void chasehq_state::chasehq(machine_config &config) //OSC: 26.686, 24.000, 16.00
ym2610_device &ymsnd(YM2610(config, "ymsnd", XTAL(16'000'000)/2)); // 8 MHz
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "subwoofer", 0.20);
ymsnd.add_route(0, "subwoofer", 0.60);
ymsnd.add_route(1, "2610.1.l", 1.0);
ymsnd.add_route(1, "2610.1.r", 1.0);
ymsnd.add_route(2, "2610.2.l", 1.0);
@ -3345,8 +3345,8 @@ void contcirc_state::enforce(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", XTAL(16'000'000)/2)); // 8 MHz
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "lspeaker", 0.25);
ymsnd.add_route(0, "rspeaker", 0.25);
ymsnd.add_route(0, "lspeaker", 0.75);
ymsnd.add_route(0, "rspeaker", 0.75);
ymsnd.add_route(1, "2610.1.l", 20.0);
ymsnd.add_route(1, "2610.1.r", 20.0);
ymsnd.add_route(2, "2610.2.l", 20.0);
@ -3401,8 +3401,8 @@ void taitoz_state::bshark_base(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", 16000000/2));
//ymsnd.irq_handler().set_inputline(m_audiocpu, 0); // DG: this is probably specific to Z80 and wrong?
ymsnd.add_route(0, "lspeaker", 0.25);
ymsnd.add_route(0, "rspeaker", 0.25);
ymsnd.add_route(0, "lspeaker", 0.75);
ymsnd.add_route(0, "rspeaker", 0.75);
ymsnd.add_route(1, "2610.1.l", 28.0);
ymsnd.add_route(1, "2610.1.r", 28.0);
ymsnd.add_route(2, "2610.2.l", 28.0);
@ -3476,8 +3476,8 @@ void sci_state::sci(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", XTAL(32'000'000)/4)); // 8 MHz
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "lspeaker", 0.25);
ymsnd.add_route(0, "rspeaker", 0.25);
ymsnd.add_route(0, "lspeaker", 0.75);
ymsnd.add_route(0, "rspeaker", 0.75);
ymsnd.add_route(1, "2610.1.l", 2.0);
ymsnd.add_route(1, "2610.1.r", 2.0);
ymsnd.add_route(2, "2610.2.l", 2.0);
@ -3546,7 +3546,7 @@ void nightstr_state::nightstr(machine_config &config) //OSC: 26.686, 24.000, 16.
ym2610_device &ymsnd(YM2610(config, "ymsnd", XTAL(16'000'000)/2)); // 8 MHz
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "subwoofer", 0.20);
ymsnd.add_route(0, "subwoofer", 0.60);
ymsnd.add_route(1, "2610.1.l", 2.0);
ymsnd.add_route(1, "2610.1.r", 2.0);
ymsnd.add_route(2, "2610.2.l", 2.0);
@ -3606,8 +3606,8 @@ void taitoz_z80_sound_state::aquajack(machine_config &config) //OSC: 26.686, 24.
ym2610_device &ymsnd(YM2610(config, "ymsnd", XTAL(16'000'000)/2)); // 8 MHz
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "lspeaker", 0.25);
ymsnd.add_route(0, "rspeaker", 0.25);
ymsnd.add_route(0, "lspeaker", 0.75);
ymsnd.add_route(0, "rspeaker", 0.75);
ymsnd.add_route(1, "2610.1.l", 2.0);
ymsnd.add_route(1, "2610.1.r", 2.0);
ymsnd.add_route(2, "2610.2.l", 2.0);
@ -3673,8 +3673,8 @@ void spacegun_state::spacegun(machine_config &config) //OSC: 26.686, 24.000, 16.
ym2610_device &ymsnd(YM2610(config, "ymsnd", XTAL(16'000'000)/2)); // 8 MHz
//ymsnd.irq_handler().set_inputline(m_audiocpu, 0); // DG: this is probably specific to Z80 and wrong?
ymsnd.add_route(0, "lspeaker", 0.25);
ymsnd.add_route(0, "rspeaker", 0.25);
ymsnd.add_route(0, "lspeaker", 0.75);
ymsnd.add_route(0, "rspeaker", 0.75);
ymsnd.add_route(1, "2610.1.l", 8.0);
ymsnd.add_route(1, "2610.1.r", 8.0);
ymsnd.add_route(2, "2610.2.l", 8.0);
@ -3731,8 +3731,8 @@ void taitoz_z80_sound_state::dblaxle(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", XTAL(32'000'000)/4)); // 8 MHz
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "lspeaker", 0.25);
ymsnd.add_route(0, "rspeaker", 0.25);
ymsnd.add_route(0, "lspeaker", 0.75);
ymsnd.add_route(0, "rspeaker", 0.75);
ymsnd.add_route(1, "2610.1.l", 8.0);
ymsnd.add_route(1, "2610.1.r", 8.0);
ymsnd.add_route(2, "2610.2.l", 8.0);
@ -3792,8 +3792,8 @@ void sci_state::racingb(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", XTAL(32'000'000)/4)); // 8 MHz
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "lspeaker", 0.25);
ymsnd.add_route(0, "rspeaker", 0.25);
ymsnd.add_route(0, "lspeaker", 0.75);
ymsnd.add_route(0, "rspeaker", 0.75);
ymsnd.add_route(1, "2610.1.l", 8.0);
ymsnd.add_route(1, "2610.1.r", 8.0);
ymsnd.add_route(2, "2610.2.l", 8.0);

View File

@ -722,7 +722,7 @@ void taitoair_state::airsys(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", XTAL(16'000'000) / 2));
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "mono", 0.30);
ymsnd.add_route(0, "mono", 0.90);
ymsnd.add_route(1, "mono", 0.60);
ymsnd.add_route(2, "mono", 0.60);

View File

@ -635,7 +635,7 @@ void warriorb_state::darius2d(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", 16_MHz_XTAL / 2));
ymsnd.irq_handler().set_inputline("audiocpu", 0);
ymsnd.add_route(0, "subwoofer", 0.25);
ymsnd.add_route(0, "subwoofer", 0.75);
ymsnd.add_route(1, "2610.1.l", 1.0);
ymsnd.add_route(1, "2610.1.r", 1.0);
ymsnd.add_route(2, "2610.2.l", 1.0);
@ -712,8 +712,8 @@ void warriorb_state::warriorb(machine_config &config)
ym2610b_device &ymsnd(YM2610B(config, "ymsnd", 16_MHz_XTAL / 2));
ymsnd.irq_handler().set_inputline("audiocpu", 0);
ymsnd.add_route(0, "lspeaker", 0.25);
ymsnd.add_route(0, "rspeaker", 0.25);
ymsnd.add_route(0, "lspeaker", 0.75);
ymsnd.add_route(0, "rspeaker", 0.75);
ymsnd.add_route(1, "2610.1.l", 1.0);
ymsnd.add_route(1, "2610.1.r", 1.0);
ymsnd.add_route(2, "2610.2.l", 1.0);

View File

@ -900,8 +900,8 @@ void wgp_state::wgp(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", 16000000/2));
ymsnd.irq_handler().set_inputline(m_audiocpu, 0); // assumes Z80 sandwiched between 68Ks
ymsnd.add_route(0, "lspeaker", 0.25);
ymsnd.add_route(0, "rspeaker", 0.25);
ymsnd.add_route(0, "lspeaker", 0.75);
ymsnd.add_route(0, "rspeaker", 0.75);
ymsnd.add_route(1, "lspeaker", 1.0);
ymsnd.add_route(2, "rspeaker", 1.0);

View File

@ -587,9 +587,9 @@ void wc90_state::wc90(machine_config &config)
ym2608_device &ymsnd(YM2608(config, "ymsnd", XTAL(8'000'000))); // verified on PCB
ymsnd.irq_handler().set_inputline("audiocpu", 0);
ymsnd.add_route(0, "mono", 0.50);
ymsnd.add_route(1, "mono", 1.0);
ymsnd.add_route(2, "mono", 1.0);
ymsnd.add_route(0, "mono", 0.75);
ymsnd.add_route(1, "mono", 0.5);
ymsnd.add_route(2, "mono", 0.5);
}
void wc90_state::wc90t(machine_config &config)

View File

@ -3726,15 +3726,15 @@ void vgmplay_state::vgmplay(machine_config &config)
// TODO: prevent error.log spew
YM2608(config, m_ym2608[0], 0);
m_ym2608[0]->set_addrmap(0, &vgmplay_state::ym2608_map<0>);
m_ym2608[0]->add_route(0, m_mixer, 0.25, AUTO_ALLOC_INPUT, 0);
m_ym2608[0]->add_route(0, m_mixer, 0.25, AUTO_ALLOC_INPUT, 1);
m_ym2608[0]->add_route(0, m_mixer, 0.75, AUTO_ALLOC_INPUT, 0);
m_ym2608[0]->add_route(0, m_mixer, 0.75, AUTO_ALLOC_INPUT, 1);
m_ym2608[0]->add_route(1, m_mixer, 1.00, AUTO_ALLOC_INPUT, 0);
m_ym2608[0]->add_route(2, m_mixer, 1.00, AUTO_ALLOC_INPUT, 1);
YM2608(config, m_ym2608[1], 0);
m_ym2608[1]->set_addrmap(0, &vgmplay_state::ym2608_map<1>);
m_ym2608[1]->add_route(0, m_mixer, 0.25, AUTO_ALLOC_INPUT, 0);
m_ym2608[1]->add_route(0, m_mixer, 0.25, AUTO_ALLOC_INPUT, 1);
m_ym2608[1]->add_route(0, m_mixer, 0.75, AUTO_ALLOC_INPUT, 0);
m_ym2608[1]->add_route(0, m_mixer, 0.75, AUTO_ALLOC_INPUT, 1);
m_ym2608[1]->add_route(1, m_mixer, 1.00, AUTO_ALLOC_INPUT, 0);
m_ym2608[1]->add_route(2, m_mixer, 1.00, AUTO_ALLOC_INPUT, 1);
@ -3742,16 +3742,16 @@ void vgmplay_state::vgmplay(machine_config &config)
YM2610(config, m_ym2610[0], 0);
m_ym2610[0]->set_addrmap(0, &vgmplay_state::ym2610_adpcm_a_map<0>);
m_ym2610[0]->set_addrmap(1, &vgmplay_state::ym2610_adpcm_b_map<0>);
m_ym2610[0]->add_route(0, m_mixer, 0.25, AUTO_ALLOC_INPUT, 0);
m_ym2610[0]->add_route(0, m_mixer, 0.25, AUTO_ALLOC_INPUT, 1);
m_ym2610[0]->add_route(0, m_mixer, 0.75, AUTO_ALLOC_INPUT, 0);
m_ym2610[0]->add_route(0, m_mixer, 0.75, AUTO_ALLOC_INPUT, 1);
m_ym2610[0]->add_route(1, m_mixer, 0.50, AUTO_ALLOC_INPUT, 0);
m_ym2610[0]->add_route(2, m_mixer, 0.50, AUTO_ALLOC_INPUT, 1);
YM2610(config, m_ym2610[1], 0);
m_ym2610[1]->set_addrmap(0, &vgmplay_state::ym2610_adpcm_a_map<1>);
m_ym2610[1]->set_addrmap(1, &vgmplay_state::ym2610_adpcm_b_map<1>);
m_ym2610[1]->add_route(0, m_mixer, 0.25, AUTO_ALLOC_INPUT, 0);
m_ym2610[1]->add_route(0, m_mixer, 0.25, AUTO_ALLOC_INPUT, 1);
m_ym2610[1]->add_route(0, m_mixer, 0.75, AUTO_ALLOC_INPUT, 0);
m_ym2610[1]->add_route(0, m_mixer, 0.75, AUTO_ALLOC_INPUT, 1);
m_ym2610[1]->add_route(1, m_mixer, 0.50, AUTO_ALLOC_INPUT, 0);
m_ym2610[1]->add_route(2, m_mixer, 0.50, AUTO_ALLOC_INPUT, 1);

View File

@ -409,8 +409,8 @@ void aerofgt_state::aerofgt(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", XTAL(8'000'000))); // verified on pcb
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "lspeaker", 0.25);
ymsnd.add_route(0, "rspeaker", 0.25);
ymsnd.add_route(0, "lspeaker", 0.75);
ymsnd.add_route(0, "rspeaker", 0.75);
ymsnd.add_route(1, "lspeaker", 1.0);
ymsnd.add_route(2, "rspeaker", 1.0);
}

View File

@ -631,8 +631,8 @@ void crshrace_state::crshrace(machine_config &config) // TODO: PCB sports 32 MHz
ym2610_device &ymsnd(YM2610(config, "ymsnd", 8'000'000));
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "lspeaker", 0.25);
ymsnd.add_route(0, "rspeaker", 0.25);
ymsnd.add_route(0, "lspeaker", 0.75);
ymsnd.add_route(0, "rspeaker", 0.75);
ymsnd.add_route(1, "lspeaker", 1.0);
ymsnd.add_route(2, "rspeaker", 1.0);
}

View File

@ -867,8 +867,8 @@ void f1gp_state::f1gp(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", XTAL(8'000'000)));
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "lspeaker", 0.25);
ymsnd.add_route(0, "rspeaker", 0.25);
ymsnd.add_route(0, "lspeaker", 0.75);
ymsnd.add_route(0, "rspeaker", 0.75);
ymsnd.add_route(1, "lspeaker", 1.0);
ymsnd.add_route(2, "rspeaker", 1.0);
}

View File

@ -532,8 +532,8 @@ void fromanc2_state::fromanc2(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", 8000000));
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "mono", 0.50);
ymsnd.add_route(1, "mono", 0.75);
ymsnd.add_route(2, "mono", 0.75);
ymsnd.add_route(1, "mono", 0.25);
ymsnd.add_route(2, "mono", 0.25);
}
void fromanc2_state::fromancr(machine_config &config)
@ -588,8 +588,8 @@ void fromanc2_state::fromancr(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", 8000000));
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "mono", 0.50);
ymsnd.add_route(1, "mono", 0.75);
ymsnd.add_route(2, "mono", 0.75);
ymsnd.add_route(1, "mono", 0.25);
ymsnd.add_route(2, "mono", 0.25);
}
void fromanc4_state::fromanc4(machine_config &config)
@ -643,8 +643,8 @@ void fromanc4_state::fromanc4(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", 8000000));
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "mono", 0.50);
ymsnd.add_route(1, "mono", 0.75);
ymsnd.add_route(2, "mono", 0.75);
ymsnd.add_route(1, "mono", 0.25);
ymsnd.add_route(2, "mono", 0.25);
}

View File

@ -676,8 +676,8 @@ void gstriker_state::base(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", 8_MHz_XTAL));
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "lspeaker", 0.25);
ymsnd.add_route(0, "rspeaker", 0.25);
ymsnd.add_route(0, "lspeaker", 0.75);
ymsnd.add_route(0, "rspeaker", 0.75);
ymsnd.add_route(1, "lspeaker", 1.0);
ymsnd.add_route(2, "rspeaker", 1.0);
}

View File

@ -592,8 +592,8 @@ void inufuku_state::inufuku(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", XTAL(32'000'000)/4));
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "mono", 0.50);
ymsnd.add_route(1, "mono", 0.75);
ymsnd.add_route(2, "mono", 0.75);
ymsnd.add_route(1, "mono", 0.25);
ymsnd.add_route(2, "mono", 0.25);
}

View File

@ -684,9 +684,9 @@ void pipedrm_state::pipedrm(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", 8_MHz_XTAL));
ymsnd.irq_handler().set_inputline("sub", 0);
ymsnd.add_route(0, "mono", 0.50);
ymsnd.add_route(1, "mono", 1.0);
ymsnd.add_route(2, "mono", 1.0);
ymsnd.add_route(0, "mono", 0.75);
ymsnd.add_route(1, "mono", 0.5);
ymsnd.add_route(2, "mono", 0.5);
}
void hatris_state::hatris(machine_config &config)
@ -728,9 +728,9 @@ void hatris_state::hatris(machine_config &config)
ym2608_device &ym2608(YM2608(config, "ymsnd", 8_MHz_XTAL));
ym2608.irq_handler().set_inputline("sub", 0);
ym2608.add_route(0, "mono", 0.50);
ym2608.add_route(1, "mono", 1.0);
ym2608.add_route(2, "mono", 1.0);
ym2608.add_route(0, "mono", 0.75);
ym2608.add_route(1, "mono", 0.5);
ym2608.add_route(2, "mono", 0.5);
}

View File

@ -2318,8 +2318,8 @@ void pspikes_banked_sound_state::pspikes(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", 8000000));
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "lspeaker", 0.25);
ymsnd.add_route(0, "rspeaker", 0.25);
ymsnd.add_route(0, "lspeaker", 0.75);
ymsnd.add_route(0, "rspeaker", 0.75);
ymsnd.add_route(1, "lspeaker", 1.0);
ymsnd.add_route(2, "rspeaker", 1.0);
}
@ -2519,8 +2519,8 @@ void pspikes_banked_sound_state::karatblz(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", XTAL(8'000'000))); // verified on pcb
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "lspeaker", 0.25);
ymsnd.add_route(0, "rspeaker", 0.25);
ymsnd.add_route(0, "lspeaker", 0.75);
ymsnd.add_route(0, "rspeaker", 0.75);
ymsnd.add_route(1, "lspeaker", 1.0);
ymsnd.add_route(2, "rspeaker", 1.0);
}
@ -2617,8 +2617,8 @@ void pspikes_banked_sound_state::spinlbrk(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", XTAL(8'000'000))); // verified on pcb
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "lspeaker", 0.25);
ymsnd.add_route(0, "rspeaker", 0.25);
ymsnd.add_route(0, "lspeaker", 0.75);
ymsnd.add_route(0, "rspeaker", 0.75);
ymsnd.add_route(1, "lspeaker", 1.0);
ymsnd.add_route(2, "rspeaker", 1.0);
}
@ -2666,8 +2666,8 @@ void pspikes_banked_sound_state::turbofrc(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", XTAL(8'000'000))); // verified on pcb
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "lspeaker", 0.25);
ymsnd.add_route(0, "rspeaker", 0.25);
ymsnd.add_route(0, "lspeaker", 0.75);
ymsnd.add_route(0, "rspeaker", 0.75);
ymsnd.add_route(1, "lspeaker", 1.0);
ymsnd.add_route(2, "rspeaker", 1.0);
}
@ -2717,8 +2717,8 @@ void pspikes_banked_sound_state::aerofgtb(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", 8000000));
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "lspeaker", 0.25);
ymsnd.add_route(0, "rspeaker", 0.25);
ymsnd.add_route(0, "lspeaker", 0.75);
ymsnd.add_route(0, "rspeaker", 0.75);
ymsnd.add_route(1, "lspeaker", 1.0);
ymsnd.add_route(2, "rspeaker", 1.0);
}

View File

@ -459,8 +459,8 @@ void suprslam_state::suprslam(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", 32_MHz_XTAL / 4)); // not verified
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "lspeaker", 0.25);
ymsnd.add_route(0, "rspeaker", 0.25);
ymsnd.add_route(0, "lspeaker", 0.75);
ymsnd.add_route(0, "rspeaker", 0.75);
ymsnd.add_route(1, "lspeaker", 1.0);
ymsnd.add_route(2, "rspeaker", 1.0);
}

View File

@ -526,8 +526,8 @@ void tail2nos_state::tail2nos(machine_config &config)
ym2608_device &ymsnd(YM2608(config, "ymsnd", XTAL(8'000'000))); // verified on PCB
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.port_b_write_callback().set(FUNC(tail2nos_state::sound_bankswitch_w));
ymsnd.add_route(0, "lspeaker", 0.25);
ymsnd.add_route(0, "rspeaker", 0.25);
ymsnd.add_route(0, "lspeaker", 0.75);
ymsnd.add_route(0, "rspeaker", 0.75);
ymsnd.add_route(1, "lspeaker", 1.0);
ymsnd.add_route(2, "rspeaker", 1.0);
}

View File

@ -609,8 +609,8 @@ void taotaido_state::taotaido(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", 8'000'000));
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "lspeaker", 0.25);
ymsnd.add_route(0, "rspeaker", 0.25);
ymsnd.add_route(0, "lspeaker", 0.75);
ymsnd.add_route(0, "rspeaker", 0.75);
ymsnd.add_route(1, "lspeaker", 1.0);
ymsnd.add_route(2, "rspeaker", 1.0);
}

View File

@ -861,7 +861,7 @@ void welltris_state::welltris(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", 8000000));
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "mono", 0.25);
ymsnd.add_route(0, "mono", 0.75);
ymsnd.add_route(1, "mono", 0.75);
ymsnd.add_route(2, "mono", 0.75);
}