mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 16:59:06 +00:00
SCI: locking _mutex inside SciMusic::sendMidiCommand(MusicEntry *pSnd, uint32 cmd)
svn-id: r50065
This commit is contained in:
parent
ef67a37b54
commit
b0a36849da
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user