From 4a4fcb19dd85cd8f3ffc63ef44f033d21b50744e Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Mon, 21 Jun 2010 15:05:48 +0000 Subject: [PATCH] SCI: added fixme about r50110/r50073 svn-id: r50115 --- engines/sci/sound/midiparser_sci.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/engines/sci/sound/midiparser_sci.cpp b/engines/sci/sound/midiparser_sci.cpp index 734b2fdda9c..9a6be1e1dfe 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) {