[Scummvm-git-logs] scummvm branch-3-0 -> 7ae27b96b864209aa51378b83a365c3304318a50

mikrosk noreply at scummvm.org
Thu Nov 20 00:14:02 UTC 2025


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
7ae27b96b8 BACKENDS: ATARI: Fix overlay hiding when starting game from command line


Commit: 7ae27b96b864209aa51378b83a365c3304318a50
    https://github.com/scummvm/scummvm/commit/7ae27b96b864209aa51378b83a365c3304318a50
Author: Miro Kropacek (miro.kropacek at gmail.com)
Date: 2025-11-20T10:13:37+10:00

Commit Message:
BACKENDS: ATARI: Fix overlay hiding when starting game from command line

Changed paths:
    backends/graphics/atari/atari-graphics.cpp


diff --git a/backends/graphics/atari/atari-graphics.cpp b/backends/graphics/atari/atari-graphics.cpp
index 30fe3ddf2c4..48fd626ce85 100644
--- a/backends/graphics/atari/atari-graphics.cpp
+++ b/backends/graphics/atari/atari-graphics.cpp
@@ -437,8 +437,7 @@ OSystem::TransactionError AtariGraphicsManager::endGFXTransaction() {
 			&& !g_hasSuperVidel) {
 			atari_warning("Engine surfaces not divisible by 16, aborting");
 			error |= OSystem::TransactionError::kTransactionSizeChangeFailed;
-		} else if (_overlayState == kOverlayIgnoredHide || _currentState.width != _pendingState.width || _currentState.height != _pendingState.height) {
-			// if kOverlayIgnoredHide and with valid w/h, force a video mode reset
+		} else if (_currentState.width != _pendingState.width || _currentState.height != _pendingState.height) {
 			hasPendingSize = true;
 		}
 	}
@@ -501,11 +500,11 @@ OSystem::TransactionError AtariGraphicsManager::endGFXTransaction() {
 		_palette.entries = 256;
 		_pendingScreenChanges.queuePalette();
 
-		if (_overlayState == kOverlayIgnoredHide) {
+		if (_overlayState == kOverlayIgnoredHide)
 			_overlayState = kOverlayHidden;
-			_ignoreHideOverlay = false;
-			_pendingScreenChanges.queueAll();
-		}
+
+		_ignoreHideOverlay = false;
+		_pendingScreenChanges.queueAll();
 	} else {
 		// clear any queued transaction changes from feature flags (e.g. aspect ratio correction)
 		_pendingScreenChanges.clearTransaction();




More information about the Scummvm-git-logs mailing list