Fix Digital Imuse deadlocks for CE platforms. Other platforms using event-based timers may be interested in it, too

svn-id: r14248
This commit is contained in:
Nicolas Bacca 2004-07-18 16:30:01 +00:00
parent 8a593e2e05
commit 74d898d160
2 changed files with 6 additions and 0 deletions

View file

@ -381,6 +381,9 @@ void IMuseDigital::stopAllSounds() {
break;
flushTracks();
_vm->_system->delay_msecs(50);
#ifdef _WIN32_WCE
_vm->parseEvents(); // timers are events, we need to consume them
#endif
}
}