mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 06:39:17 +00:00
LAB: Properly update the screen in monitors
This commit is contained in:
parent
241c9829f6
commit
1d4a62a028
@ -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) ||
|
||||
|
Loading…
Reference in New Issue
Block a user