[Scummvm-git-logs] scummvm master -> 61b72f29f6ed31eadfa83d31caf09f06edb675e2
eriktorbjorn
noreply at scummvm.org
Thu Mar 14 20:50:52 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:
61b72f29f6 SCUMM: Freeze the Mac GUI while waiting for banner input
Commit: 61b72f29f6ed31eadfa83d31caf09f06edb675e2
https://github.com/scummvm/scummvm/commit/61b72f29f6ed31eadfa83d31caf09f06edb675e2
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2024-03-14T21:48:09+01:00
Commit Message:
SCUMM: Freeze the Mac GUI while waiting for banner input
I encountered some graphics corruption and even a crash if I allowed the
Mac menus to be used while the pause banner was displayed.
Changed paths:
engines/scumm/input.cpp
diff --git a/engines/scumm/input.cpp b/engines/scumm/input.cpp
index 9540498e9fd..be8abdcc90a 100644
--- a/engines/scumm/input.cpp
+++ b/engines/scumm/input.cpp
@@ -637,7 +637,7 @@ void ScummEngine::waitForBannerInput(int32 waitTime, Common::KeyState &ks, bool
}
} else {
while (!validKey && !leftBtnClicked && !rightBtnClicked && !(handleMouseWheel && _mouseWheelFlag)) {
- waitForTimer(1); // Allow the engine to update the screen and fetch new inputs...
+ waitForTimer(1, true); // Allow the engine to update the screen and fetch new inputs...
if (_game.version > 2 && _game.version < 7 && (_guiCursorAnimCounter++ & 16)) {
_guiCursorAnimCounter = 0;
More information about the Scummvm-git-logs
mailing list