[Scummvm-git-logs] scummvm master -> 63ad473aee83ef9ca045a488b873c3c3bd25c64f
eriktorbjorn
noreply at scummvm.org
Fri Sep 13 17:30:33 UTC 2024
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
63ad473aee ADL: Update screen while waiting
Commit: 63ad473aee83ef9ca045a488b873c3c3bd25c64f
https://github.com/scummvm/scummvm/commit/63ad473aee83ef9ca045a488b873c3c3bd25c64f
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2024-09-13T19:29:47+02:00
Commit Message:
ADL: Update screen while waiting
Even if the game doesn't draw anything to the screen, it can still
change from outside events e.g. by changing the scaler or - on some
systems - by dragging another window across the ScummVM window.
Changed paths:
engines/adl/adl.cpp
diff --git a/engines/adl/adl.cpp b/engines/adl/adl.cpp
index a9e9895ae11..79f55f782f4 100644
--- a/engines/adl/adl.cpp
+++ b/engines/adl/adl.cpp
@@ -188,6 +188,7 @@ void AdlEngine::delay(uint32 ms) const {
pollEvent(event);
g_system->delayMillis(end - now < 16 ? end - now : 16);
now = g_system->getMillis();
+ g_system->updateScreen();
}
}
@@ -294,6 +295,7 @@ byte AdlEngine::inputKey(bool showCursor) const {
_display->renderText();
g_system->delayMillis(16);
+ g_system->updateScreen();
}
_display->showCursor(false);
@@ -316,6 +318,7 @@ void AdlEngine::waitKey(uint32 ms, Common::KeyCode keycode) const {
return;
g_system->delayMillis(16);
+ g_system->updateScreen();
}
}
More information about the Scummvm-git-logs
mailing list