aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-03-13 23:53:15 +0000
committerTorbjörn Andersson2006-03-13 23:53:15 +0000
commit784728bf8d535cbb66803820885db5517344c8b1 (patch)
treed0188280da541cf2b727732a7a747ae100766a09
parent94f5bd81ad55d6b1a9d25a3e22087bc93a555dd1 (diff)
downloadscummvm-rg350-784728bf8d535cbb66803820885db5517344c8b1.tar.gz
scummvm-rg350-784728bf8d535cbb66803820885db5517344c8b1.tar.bz2
scummvm-rg350-784728bf8d535cbb66803820885db5517344c8b1.zip
Further clarifications to the comment about the "low-frequency notes at
beginning of music" bugs. As an experiment, I tried hooking up ScummVM with the most recent version of the FMOPL code, and the bug went away. Unfortunately, I believe we are stuck with the ancient version for license (and performance?) reasons. svn-id: r21267
-rw-r--r--engines/kyra/sound_adlib.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/kyra/sound_adlib.cpp b/engines/kyra/sound_adlib.cpp
index ce8ab0623b..6b6a77d72a 100644
--- a/engines/kyra/sound_adlib.cpp
+++ b/engines/kyra/sound_adlib.cpp
@@ -810,7 +810,11 @@ void AdlibDriver::unkOutput2(uint8 chan) {
//
// This is very strange behaviour, and appears to be the cause of the
// bug where low-frequent notes are played at the beginning of a new
- // sound. However, this is what the original does here...
+ // sound. However, this is what the original does, and the bug does not
+ // seem to happen with current versions of the FMOPL code.
+ //
+ // Unfortunately, we cannot use more recent versions because of license
+ // incompatibilities.
writeOPL(0xB0 + chan, 0x20);
}