diff options
author | Martin Kiewitz | 2010-06-19 21:15:58 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-06-19 21:15:58 +0000 |
commit | b0a36849daaf02ba01e2a0603569b20a608250e0 (patch) | |
tree | ac7f6f249dcfbb44e9be612a9916c7ef7d9540bd | |
parent | ef67a37b5498fd256533369f2c8e531887d2b6f6 (diff) | |
download | scummvm-rg350-b0a36849daaf02ba01e2a0603569b20a608250e0.tar.gz scummvm-rg350-b0a36849daaf02ba01e2a0603569b20a608250e0.tar.bz2 scummvm-rg350-b0a36849daaf02ba01e2a0603569b20a608250e0.zip |
SCI: locking _mutex inside SciMusic::sendMidiCommand(MusicEntry *pSnd, uint32 cmd)
svn-id: r50065
-rw-r--r-- | engines/sci/sound/music.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/sound/music.cpp b/engines/sci/sound/music.cpp index 8da0557a31..688b88a910 100644 --- a/engines/sci/sound/music.cpp +++ b/engines/sci/sound/music.cpp @@ -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 |