aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/zvision.cpp
diff options
context:
space:
mode:
authorMarisa-Chan2014-11-12 16:02:35 +0600
committerMarisa-Chan2014-11-12 16:02:35 +0600
commit960bbe53b2160de3747678bd877c532d49c7d147 (patch)
treea9522627777972a1b66d510340a374395e3a2d22 /engines/zvision/zvision.cpp
parentbb06ecf798682959bc9e31e92a6624e391e8429d (diff)
downloadscummvm-rg350-960bbe53b2160de3747678bd877c532d49c7d147.tar.gz
scummvm-rg350-960bbe53b2160de3747678bd877c532d49c7d147.tar.bz2
scummvm-rg350-960bbe53b2160de3747678bd877c532d49c7d147.zip
ZVISION: Fix delays with halveDelay option
Diffstat (limited to 'engines/zvision/zvision.cpp')
-rw-r--r--engines/zvision/zvision.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/engines/zvision/zvision.cpp b/engines/zvision/zvision.cpp
index d8b0f209e3..4d9830a0e3 100644
--- a/engines/zvision/zvision.cpp
+++ b/engines/zvision/zvision.cpp
@@ -300,7 +300,10 @@ bool ZVision::askQuestion(const Common::String &str) {
}
}
_system->updateScreen();
- _system->delayMillis(66);
+ if (_halveDelay)
+ _system->delayMillis(33);
+ else
+ _system->delayMillis(66);
}
_renderManager->deleteSubArea(msgid);
_clock.start();
@@ -325,7 +328,10 @@ void ZVision::delayedMessage(const Common::String &str, uint16 milsecs) {
break;
}
_system->updateScreen();
- _system->delayMillis(66);
+ if (_halveDelay)
+ _system->delayMillis(33);
+ else
+ _system->delayMillis(66);
}
_renderManager->deleteSubArea(msgid);
_clock.start();