aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/touche/opcodes.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/touche/opcodes.cpp b/engines/touche/opcodes.cpp
index 8fc9d66435..066c87fc29 100644
--- a/engines/touche/opcodes.cpp
+++ b/engines/touche/opcodes.cpp
@@ -870,7 +870,10 @@ void ToucheEngine::op_sleep() {
debugC(9, kDebugOpcodes, "ToucheEngine::op_sleep()");
int16 cycles = _script.readNextWord();
if (!_fastMode) {
- _system->delayMillis(50 * cycles);
+ for (int i = 0; i < cycles; i++) {
+ _system->delayMillis(50);
+ _system->updateScreen();
+ }
}
}