AGI: Use correct volume for PCjr output

This looks like a regression from commit 24bb5da: AGI: Add a layer of
abstraction between the sound chip and the two players
This commit is contained in:
Thierry Crozat
2015-05-10 15:38:54 +01:00
parent aee23fd704
commit 8e4c672d38
+1 -1
View File
@@ -411,7 +411,7 @@ int SoundGenPCJr::chanGen(int chan, int16 *stream, int len) {
if (tpcm->noteCount <= 0) {
// get new tone data
if ((tpcm->avail) && (getNextNote(chan) == 0)) {
tpcm->atten = _channel[chan].attenuation;
tpcm->atten = volumeCalc(&_channel[chan]);
tpcm->freqCount = _channel[chan].freqCount;
tpcm->genType = _channel[chan].genType;