aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-03-21 09:18:38 +0000
committerPaweł Kołodziejski2003-03-21 09:18:38 +0000
commitbc78170ce4db8a464a46ebfec8c56ab20d395e96 (patch)
treecb46c40c06453104a652024d806eb2e748d05408
parent2359897cc13595d7e81ab7cab3a80d44426b0ddc (diff)
downloadscummvm-rg350-bc78170ce4db8a464a46ebfec8c56ab20d395e96.tar.gz
scummvm-rg350-bc78170ce4db8a464a46ebfec8c56ab20d395e96.tar.bz2
scummvm-rg350-bc78170ce4db8a464a46ebfec8c56ab20d395e96.zip
moved delay stuff outside of lock mutex
svn-id: r6843
-rw-r--r--scumm/smush/smush_player.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/smush/smush_player.cpp b/scumm/smush/smush_player.cpp
index 5e945c60ad..f49272d40e 100644
--- a/scumm/smush/smush_player.cpp
+++ b/scumm/smush/smush_player.cpp
@@ -885,8 +885,8 @@ void SmushPlayer::play(const char *filename, const char *directory) {
while (true) {
_scumm->_system->lock_mutex(_mutex);
+ _scumm->parseEvents();
_scumm->processKbd();
- _scumm->waitForTimer(1);
if(_updateNeeded == true) {
uint32 end_time, start_time = _scumm->_system->get_msecs();
@@ -901,6 +901,7 @@ void SmushPlayer::play(const char *filename, const char *directory) {
break;
if (_scumm->_saveLoadFlag)
break;
+ _scumm->_system->delay_msecs(10);
};
deinit();