1
0
Fork 0

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:
ripsaw8080 2016-02-05 13:32:48 +00:00
parent fe46abe6ff
commit 18f5c4c565

View file

@ -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;
}