aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound
diff options
context:
space:
mode:
authorMartin Kiewitz2010-06-21 15:05:48 +0000
committerMartin Kiewitz2010-06-21 15:05:48 +0000
commit4a4fcb19dd85cd8f3ffc63ef44f033d21b50744e (patch)
treedba22ee4771c61da8a944c6ed54072dce1cd3d36 /engines/sci/sound
parentfaef4ab349df5cd206fe2e5dfc666f76be3b60ec (diff)
downloadscummvm-rg350-4a4fcb19dd85cd8f3ffc63ef44f033d21b50744e.tar.gz
scummvm-rg350-4a4fcb19dd85cd8f3ffc63ef44f033d21b50744e.tar.bz2
scummvm-rg350-4a4fcb19dd85cd8f3ffc63ef44f033d21b50744e.zip
SCI: added fixme about r50110/r50073
svn-id: r50115
Diffstat (limited to 'engines/sci/sound')
-rw-r--r--engines/sci/sound/midiparser_sci.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sci/sound/midiparser_sci.cpp b/engines/sci/sound/midiparser_sci.cpp
index 734b2fdda9..9a6be1e1df 100644
--- a/engines/sci/sound/midiparser_sci.cpp
+++ b/engines/sci/sound/midiparser_sci.cpp
@@ -392,6 +392,9 @@ void MidiParser_SCI::allNotesOff() {
// Note: we send to driver here directly, because in this case we would free previously mapped channels
// and onTimer() wouldn't send them to driver anymore afterwards anyway
+ // FIXME: the common midiparser/driver code doesn't really like getting called from various threads
+ // but we don't have an option here... i guess midiparser/driver code should be made thread-safe
+
// Turn off all active notes
for (i = 0; i < 128; ++i) {
for (j = 0; j < 16; ++j) {