mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user