[Scummvm-git-logs] scummvm branch-2-8 -> ee90bd4d5dc938cb083dca854bbb062e948260e7

eriktorbjorn noreply at scummvm.org
Fri Mar 15 16:34:30 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:
ee90bd4d5d SCUMM: Freeze the Mac GUI while waiting for banner input


Commit: ee90bd4d5dc938cb083dca854bbb062e948260e7
    https://github.com/scummvm/scummvm/commit/ee90bd4d5dc938cb083dca854bbb062e948260e7
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2024-03-15T17:30:11+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 83a7fea1033..9b472d7a293 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