diff options
author | Nicolas Bacca | 2003-07-11 15:52:46 +0000 |
---|---|---|
committer | Nicolas Bacca | 2003-07-11 15:52:46 +0000 |
commit | 333ea0e300a6885636e46da64c54eb125c040446 (patch) | |
tree | 429f462723b66ae182588cac0959d68637255067 /sky | |
parent | e74eddf6fa7e779d3f771bd0bb0a40c241c182b7 (diff) | |
download | scummvm-rg350-333ea0e300a6885636e46da64c54eb125c040446.tar.gz scummvm-rg350-333ea0e300a6885636e46da64c54eb125c040446.tar.bz2 scummvm-rg350-333ea0e300a6885636e46da64c54eb125c040446.zip |
Avoid deadlock
svn-id: r8911
Diffstat (limited to 'sky')
-rw-r--r-- | sky/screen.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sky/screen.cpp b/sky/screen.cpp index cf0a48714b..11ef94eea0 100644 --- a/sky/screen.cpp +++ b/sky/screen.cpp @@ -374,8 +374,12 @@ void SkyScreen::fnFadeUp(uint32 palNum, uint32 scroll) { void SkyScreen::waitForTimer(void) { _gotTick = false; - while (!_gotTick) + while (!_gotTick) { + OSystem::Event event; + _system->delay_msecs(10); + while (_system->poll_event(&event)); + } } void SkyScreen::handleTimer(void) { |