aboutsummaryrefslogtreecommitdiff
path: root/engines/lab
diff options
context:
space:
mode:
authorFilippos Karapetis2016-01-14 01:09:05 +0200
committerFilippos Karapetis2016-01-14 23:41:31 +0200
commit1d4a62a02846fb34296e60c402ee2d282ad19496 (patch)
tree7d4ed66314f258c1fd605f6fad374cc07eed6cdd /engines/lab
parent241c9829f6d5aab5e790a71d30c5a8bca3fcf1e4 (diff)
downloadscummvm-rg350-1d4a62a02846fb34296e60c402ee2d282ad19496.tar.gz
scummvm-rg350-1d4a62a02846fb34296e60c402ee2d282ad19496.tar.bz2
scummvm-rg350-1d4a62a02846fb34296e60c402ee2d282ad19496.zip
LAB: Properly update the screen in monitors
Diffstat (limited to 'engines/lab')
-rw-r--r--engines/lab/special.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/lab/special.cpp b/engines/lab/special.cpp
index 48e32cb1dc..d373f8a667 100644
--- a/engines/lab/special.cpp
+++ b/engines/lab/special.cpp
@@ -364,17 +364,17 @@ void LabEngine::processMonitor(const Common::String &ntext, TextFont *monitorFon
}
}
- // Make sure we check the music at least after every message
updateEvents();
+ _graphics->screenUpdate();
+ _system->delayMillis(10);
+
IntuiMessage *msg = _event->getMsg();
if (shouldQuit()) {
_quitLab = true;
return;
}
- if (!msg)
- updateEvents();
- else {
+ if (msg) {
MessageClass msgClass = msg->_msgClass;
if ((msgClass == kMessageRightClick) ||