Stop speaker output after command write, pending counter write. The hacky implementation will serve until timer/speaker is improved. Fixes constant speaker tone in Arnie 2 and Chopper Duel when using SB sound, also Titus The Fox title screen when using speaker sound.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3960
This commit is contained in:
parent
fe46abe6ff
commit
18f5c4c565
1 changed files with 2 additions and 0 deletions
|
@ -345,6 +345,8 @@ static void write_p43(Bitu /*port*/,Bitu val,Bitu /*iolen*/) {
|
|||
} else {
|
||||
PIC_DeActivateIRQ(0);
|
||||
}
|
||||
} else if (latch == 2) {
|
||||
PCSPEAKER_SetCounter(0,3);
|
||||
}
|
||||
pit[latch].new_mode = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue