aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph-Eugene Winzer2018-03-18 21:27:50 +0100
committerEugene Sandulenko2018-03-28 17:36:57 +0200
commitd9aa76796d1eed5a4ce6f5b0b1f2d09a28290555 (patch)
tree2756551ef49f6268f0ba122dc5ae5d336bcbfa7b
parenta5b4be63275d5537c351ad5c772c1645ed0959dd (diff)
downloadscummvm-rg350-d9aa76796d1eed5a4ce6f5b0b1f2d09a28290555.tar.gz
scummvm-rg350-d9aa76796d1eed5a4ce6f5b0b1f2d09a28290555.tar.bz2
scummvm-rg350-d9aa76796d1eed5a4ce6f5b0b1f2d09a28290555.zip
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.
-rw-r--r--engines/lilliput/script.cpp2
1 files changed, 2 insertions, 0 deletions
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;