From d9aa76796d1eed5a4ce6f5b0b1f2d09a28290555 Mon Sep 17 00:00:00 2001 From: Joseph-Eugene Winzer Date: Sun, 18 Mar 2018 21:27:50 +0100 Subject: LILLIPUT: Adds delay during title screens At least during the title screens when the game is just waiting for user input it shouldn't use a full CPU core. --- engines/lilliput/script.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engines/lilliput/script.cpp b/engines/lilliput/script.cpp index 812998de4b..46f8938134 100644 --- a/engines/lilliput/script.cpp +++ b/engines/lilliput/script.cpp @@ -3223,6 +3223,8 @@ void LilliputScript::OC_displayTitleScreen() { if ((_vm->_byte184F4 != 0) && (_vm->_sound_byte16F06 == 0)) break; + + _vm->_system->delayMillis(1); } _vm->_mouseButton = 0; -- cgit v1.2.3