mirror of
https://github.com/holub/mame
synced 2025-04-25 01:40:16 +03:00
sblaster: fix incessant popping before first use
This commit is contained in:
parent
3e8ae15bfa
commit
b164e5f4d2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user