Minor changes to OPTi 82C929A emulation

Corrected bug introduced by earlier pull request which broke WSS audio in Windows.
This commit is contained in:
Ompronce
2022-12-12 21:18:06 -04:00
committed by GitHub
parent d1d511c100
commit 07857b7fd1

View File

@@ -101,7 +101,7 @@ optimc_wss_write(uint16_t addr, uint8_t val, void *priv)
return; return;
optimc->wss_config = val; optimc->wss_config = val;
ad1848_setdma(&optimc->ad1848, optimc_wss_dma[val & 3]); ad1848_setdma(&optimc->ad1848, optimc_wss_dma[val & 3]);
ad1848_setirq(&optimc->ad1848, optimc_wss_irq[(val >> 3) & 7]); ad1848_setirq(&optimc->ad1848, optimc_wss_irq[val & 3]);
} }
static void static void