mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
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:
parent
7d832e8664
commit
8446d1244f
@ -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);
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user