lemmings.cpp, segas16a.cpp: fixed regressions I introduced with the ym2151 macro removal. Thanks to Tafoid for the testing (nw)

This commit is contained in:
Ivan Vangelista 2018-11-18 18:41:48 +01:00
parent 7d832e8664
commit 8446d1244f
2 changed files with 2 additions and 2 deletions

View File

@ -261,7 +261,7 @@ MACHINE_CONFIG_START(lemmings_state::lemmings)
GENERIC_LATCH_8(config, m_soundlatch);
ym2151_device &ymsnd(YM2151(config, "ymsnd", 32220000/9));
ymsnd.irq_handler().set_inputline(m_audiocpu, 1);
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "lspeaker", 0.45);
ymsnd.add_route(1, "rspeaker", 0.45);

View File

@ -2017,7 +2017,7 @@ MACHINE_CONFIG_START(segas16a_state::system16a)
GENERIC_LATCH_8(config, m_soundlatch);
YM2151(config, m_ymsnd, 4000000);
m_ymsnd->irq_handler().set(FUNC(segas16a_state::n7751_control_w));
m_ymsnd->port_write_handler().set(FUNC(segas16a_state::n7751_control_w));
m_ymsnd->add_route(ALL_OUTPUTS, "speaker", 0.43);
MCFG_DEVICE_ADD("dac", DAC_8BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.4) // unknown DAC