From 1d4a62a02846fb34296e60c402ee2d282ad19496 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Thu, 14 Jan 2016 01:09:05 +0200 Subject: LAB: Properly update the screen in monitors --- engines/lab/special.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/lab') 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) || -- cgit v1.2.3