aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2010-01-11 16:33:00 +0000
committerFilippos Karapetis2010-01-11 16:33:00 +0000
commit61e792319d2381c58bbb45ab48b45343c5b71197 (patch)
treedca0056879a0e0792313264e5526a78462d13581
parent33db6acd7f616b4bedae2d7cf6c042b9f17d48c9 (diff)
downloadscummvm-rg350-61e792319d2381c58bbb45ab48b45343c5b71197.tar.gz
scummvm-rg350-61e792319d2381c58bbb45ab48b45343c5b71197.tar.bz2
scummvm-rg350-61e792319d2381c58bbb45ab48b45343c5b71197.zip
Don't update the screen twice while waiting
svn-id: r47254
-rw-r--r--engines/sci/engine/kernel.cpp1
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);