More fixes to mixer register FFh, turns out the lower 3 bits are not a DMA channel, fixes detection of Sound Blaster 16 non-PNP.

This commit is contained in:
OBattler
2023-10-24 00:28:28 +02:00
parent 5c5b286358
commit 2f3d5d5fc4
2 changed files with 14 additions and 6 deletions

View File

@@ -502,6 +502,7 @@ sb_16_write_dma(void *priv, uint16_t val)
void
sb_dsp_setirq(sb_dsp_t *dsp, int irq)
{
sb_dsp_log("IRQ now: %i\n", irq);
dsp->sb_irqnum = irq;
}