Clear Soundblaster interrupt if needed. Fixes sound detection in Xenoball.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3521
This commit is contained in:
parent
1c5f8442c7
commit
8021ebdb6c
1 changed files with 4 additions and 1 deletions
|
@ -1368,7 +1368,10 @@ static Bitu read_sb(Bitu port,Bitu /*iolen*/) {
|
|||
return DSP_ReadData();
|
||||
case DSP_READ_STATUS:
|
||||
//TODO See for high speed dma :)
|
||||
sb.irq.pending_8bit=false;
|
||||
if (sb.irq.pending_8bit) {
|
||||
sb.irq.pending_8bit=false;
|
||||
PIC_DeActivateIRQ(sb.hw.irq);
|
||||
}
|
||||
if (sb.dsp.out.used) return 0xff;
|
||||
else return 0x7f;
|
||||
case DSP_ACK_16BIT:
|
||||
|
|
Loading…
Add table
Reference in a new issue