pc9801_86.cpp: fix PSG regression (#4306)

This commit is contained in:
r09 2018-11-17 09:43:53 +01:00 committed by Ivan Vangelista
parent 21318d7ed2
commit 1dbfe963f6

View File

@ -52,6 +52,7 @@ MACHINE_CONFIG_START(pc9801_86_device::pc9801_86_config)
SPEAKER(config, "rspeaker").front_right();
YM2608(config, m_opna, 7.987_MHz_XTAL);
m_opna->irq_handler().set(FUNC(pc9801_86_device::sound_irq));
m_opna->set_flags(AY8910_SINGLE_OUTPUT);
m_opna->port_a_read_callback().set(FUNC(pc9801_86_device::opn_porta_r));
//m_opna->port_b_read_callback().set(FUNC(pc8801_state::opn_portb_r));
//m_opna->port_a_write_callback().set(FUNC(pc8801_state::opn_porta_w));
@ -396,6 +397,7 @@ void pc9801_speakboard_device::device_add_mconfig(machine_config &config)
m_opna->add_route(2, "rspeaker", 0.50);
YM2608(config, m_opna_slave, 7.987_MHz_XTAL);
m_opna_slave->set_flags(AY8910_SINGLE_OUTPUT);
m_opna_slave->add_route(0, "lspeaker", 0.50);
m_opna_slave->add_route(0, "rspeaker", 0.50);
m_opna_slave->add_route(1, "lspeaker", 0.50);