Skip to content

Commit

Permalink
ZVISION: Fix delays with halveDelay option
Browse files Browse the repository at this point in the history
  • Loading branch information
Marisa-Chan committed Nov 12, 2014
1 parent bb06ecf commit 960bbe5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions engines/zvision/zvision.cpp
Expand Up @@ -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();
Expand All @@ -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();
Expand Down

0 comments on commit 960bbe5

Please sign in to comment.