[Scummvm-cvs-logs] scummvm master -> fc2ac47eabfa745a23cc97259d4f624caa916a59
criezy
criezy at scummvm.org
Mon May 11 21:16:12 CEST 2015
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
fc2ac47eab AGI: Remove dead code in PCjr code
Commit: fc2ac47eabfa745a23cc97259d4f624caa916a59
https://github.com/scummvm/scummvm/commit/fc2ac47eabfa745a23cc97259d4f624caa916a59
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2015-05-11T20:15:03+01:00
Commit Message:
AGI: Remove dead code in PCjr code
I forgot to remove that code in commit 0cb0a09 when I removed the
line that preceded it.
Changed paths:
engines/agi/sound_pcjr.cpp
diff --git a/engines/agi/sound_pcjr.cpp b/engines/agi/sound_pcjr.cpp
index 17370cb..ea7a278 100644
--- a/engines/agi/sound_pcjr.cpp
+++ b/engines/agi/sound_pcjr.cpp
@@ -205,8 +205,6 @@ int SoundGenPCJr::volumeCalc(SndGenChan *chan) {
chan->attenuationCopy = attenuation;
attenuation &= 0x0F;
- if (attenuation > 0x0F)
- attenuation = 0x0F;
}
}
//if (computer_type == 2) && (attenuation < 8)
More information about the Scummvm-git-logs
mailing list