aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {