Small IRQ correction on ad1848/cs4231 (June 5th, 2025)
This fixes the the looping wave plays in Win95 using GUS MAX and possibly on WSS derived products.
This commit is contained in:
@@ -731,9 +731,11 @@ ad1848_poll(void *priv)
|
||||
if (!(ad1848->status & 0x01)) {
|
||||
ad1848->status |= 0x01;
|
||||
ad1848->regs[24] |= 0x10;
|
||||
if (ad1848->regs[10] & 2)
|
||||
picint(1 << ad1848->irq);
|
||||
}
|
||||
if (ad1848->regs[10] & 2)
|
||||
picint(1 << ad1848->irq);
|
||||
else
|
||||
picintc(1 << ad1848->irq);
|
||||
}
|
||||
|
||||
if (!(ad1848->adpcm_pos & 7)) /* ADPCM counts down every 4 bytes */
|
||||
|
||||
Reference in New Issue
Block a user