aboutsummaryrefslogtreecommitdiff
path: root/engines/cryomni3d/cryomni3d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cryomni3d/cryomni3d.cpp')
-rw-r--r--engines/cryomni3d/cryomni3d.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/cryomni3d/cryomni3d.cpp b/engines/cryomni3d/cryomni3d.cpp
index f1ac389e71..193d1058a3 100644
--- a/engines/cryomni3d/cryomni3d.cpp
+++ b/engines/cryomni3d/cryomni3d.cpp
@@ -159,6 +159,7 @@ void CryOmni3DEngine::playHNM(const Common::String &filename, Audio::Mixer::Soun
}
}
g_system->updateScreen();
+ g_system->delayMillis(10);
if (pollEvents() && checkKeysPressed()) {
skipVideo = true;
@@ -214,6 +215,7 @@ void CryOmni3DEngine::displayHLZ(const Common::String &filename) {
}
}
g_system->updateScreen();
+ g_system->delayMillis(10);
}
delete imageDecoder;
@@ -242,7 +244,6 @@ bool CryOmni3DEngine::pollEvents() {
}
hasEvents = true;
}
- g_system->delayMillis(10);
_dragStatus = kDragStatus_NoDrag;
uint currentMouseButton = getCurrentMouseButton();
@@ -294,6 +295,8 @@ uint CryOmni3DEngine::getCurrentMouseButton() {
void CryOmni3DEngine::waitMouseRelease() {
while (g_system->getEventManager()->getButtonState() != 0 && !g_engine->shouldQuit()) {
pollEvents();
+ g_system->updateScreen();
+ g_system->delayMillis(10);
}
}