diff options
author | Filippos Karapetis | 2010-01-11 16:33:00 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-01-11 16:33:00 +0000 |
commit | 61e792319d2381c58bbb45ab48b45343c5b71197 (patch) | |
tree | dca0056879a0e0792313264e5526a78462d13581 /engines | |
parent | 33db6acd7f616b4bedae2d7cf6c042b9f17d48c9 (diff) | |
download | scummvm-rg350-61e792319d2381c58bbb45ab48b45343c5b71197.tar.gz scummvm-rg350-61e792319d2381c58bbb45ab48b45343c5b71197.tar.bz2 scummvm-rg350-61e792319d2381c58bbb45ab48b45343c5b71197.zip |
Don't update the screen twice while waiting
svn-id: r47254
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/engine/kernel.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/sci/engine/kernel.cpp b/engines/sci/engine/kernel.cpp index 5adf13461f..e5512da4ce 100644 --- a/engines/sci/engine/kernel.cpp +++ b/engines/sci/engine/kernel.cpp @@ -711,7 +711,6 @@ void kernel_sleep(SciEvent *event, uint32 msecs ) { // let backend process events and update the screen event->get(SCI_EVENT_PEEK); // TODO: we need to call Cursor::refreshPosition() before each screen update to limit the mouse cursor position - g_system->updateScreen(); time = g_system->getMillis(); if (time + 10 < wakeup_time) { g_system->delayMillis(10); |