aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/graphics.cpp
diff options
context:
space:
mode:
authoreriktorbjorn2011-05-15 23:20:40 +0200
committereriktorbjorn2011-05-15 23:20:40 +0200
commit8112247f1ad3653a157a3fa0fa43271622a3433d (patch)
tree8017fef06ea4b6cfb8d7a6a617143ef7d74dbd19 /engines/tsage/graphics.cpp
parent7ba345be57c4e8f98d4cad2dcc64a088d60ed9ff (diff)
downloadscummvm-rg350-8112247f1ad3653a157a3fa0fa43271622a3433d.tar.gz
scummvm-rg350-8112247f1ad3653a157a3fa0fa43271622a3433d.tar.bz2
scummvm-rg350-8112247f1ad3653a157a3fa0fa43271622a3433d.zip
TSAGE: Made some dialogs less CPU hungry
The start/intro dialog, the inventory dialog and the conversation dialog now call delayMillis() in their event loop. This is consistent with how the action menu dialog already worked.
Diffstat (limited to 'engines/tsage/graphics.cpp')
-rw-r--r--engines/tsage/graphics.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/tsage/graphics.cpp b/engines/tsage/graphics.cpp
index 1b2e6b1137..5da00e8522 100644
--- a/engines/tsage/graphics.cpp
+++ b/engines/tsage/graphics.cpp
@@ -991,6 +991,8 @@ GfxButton *GfxDialog::execute(GfxButton *defaultButton) {
break;
}
}
+ g_system->delayMillis(10);
+ g_system->updateScreen();
}
_gfxManager.deactivate();