Minor changes to OPTi 82C929A emulation
Corrected bug introduced by earlier pull request which broke WSS audio in Windows.
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user