sblaster: fix incessant popping before first use

This commit is contained in:
Scott Percival 2017-03-27 20:59:27 +08:00
parent 3e8ae15bfa
commit b164e5f4d2

View File

@ -1425,10 +1425,14 @@ void sb_device::device_reset()
m_dsp.wbuf_status = 0;
m_dsp.rbuf_status = 0;
m_dsp.frequency = 8000; // per stereo-fx
m_dsp.flags = 0;
m_dsp.irq_active = 0;
m_dsp.dma_no_irq = false;
mixer_reset();
m_ldac->write(0x8000);
m_rdac->write(0x8000);
m_onebyte_midi = false;
m_uart_midi = false;
m_uart_irq = false;