From 8112247f1ad3653a157a3fa0fa43271622a3433d Mon Sep 17 00:00:00 2001 From: eriktorbjorn Date: Sun, 15 May 2011 23:20:40 +0200 Subject: 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. --- engines/tsage/graphics.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/tsage/graphics.cpp') 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(); -- cgit v1.2.3