aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorWalter van Niftrik2010-01-17 04:57:21 +0000
committerWalter van Niftrik2010-01-17 04:57:21 +0000
commitbea8d931ff91d43e6369620a3a8b593a13a09bb5 (patch)
tree85d19588b251ddeb4d91d9ea71e4fdac1bbc5ce6 /engines
parente11e9338d151e659bbd8d23922375b550e362dd3 (diff)
downloadscummvm-rg350-bea8d931ff91d43e6369620a3a8b593a13a09bb5.tar.gz
scummvm-rg350-bea8d931ff91d43e6369620a3a8b593a13a09bb5.tar.bz2
scummvm-rg350-bea8d931ff91d43e6369620a3a8b593a13a09bb5.zip
SCI: Add comment to channel mask code
svn-id: r47337
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/resource.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp
index 61c5ca92dd..ae2c6f50e7 100644
--- a/engines/sci/resource.cpp
+++ b/engines/sci/resource.cpp
@@ -2099,6 +2099,8 @@ int SoundResource::getChannelFilterMask(int hardwareMask, bool wantsRhythm) {
// bit 2 set: use for PC speaker
// bit 3 set and bit 0 clear: control channel (15)
// bit 3 set and bit 0 set: rhythm channel (9)
+ // Note: control channel is dynamically assigned inside the drivers,
+ // but seems to be fixed at 15 in the song data.
flags = *data++;
// Get device bits