SCI: locking _mutex inside SciMusic::sendMidiCommand(MusicEntry *pSnd, uint32 cmd)

svn-id: r50065
This commit is contained in:
Martin Kiewitz 2010-06-19 21:15:58 +00:00
parent ef67a37b54
commit b0a36849da

View File

@ -463,6 +463,7 @@ void SciMusic::sendMidiCommand(uint32 cmd) {
}
void SciMusic::sendMidiCommand(MusicEntry *pSnd, uint32 cmd) {
Common::StackLock lock(_mutex);
if (pSnd->pMidiParser)
pSnd->pMidiParser->sendManuallyToDriver(cmd);
else