[Scummvm-git-logs] scummvm master -> 8ad42935e63410cfe321ff17d265cf1f8030a846

sdelamarre noreply at scummvm.org
Sat Jul 5 20:45:40 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:
8ad42935e6 GUI: INTEGRITY: Fix a bug when computing checksums inside subdirectories


Commit: 8ad42935e63410cfe321ff17d265cf1f8030a846
    https://github.com/scummvm/scummvm/commit/8ad42935e63410cfe321ff17d265cf1f8030a846
Author: Simon Delamarre (simon.delamarre14 at gmail.com)
Date: 2025-07-05T22:44:07+02:00

Commit Message:
GUI: INTEGRITY: Fix a bug when computing checksums inside subdirectories

The kChecksumComplete state was entered too early when completing the
first subdirectory, while is should be done only when completing the
whole root directory.

Changed paths:
    gui/integrity-dialog.cpp


diff --git a/gui/integrity-dialog.cpp b/gui/integrity-dialog.cpp
index 0d239bd48d6..d54d9a29b77 100644
--- a/gui/integrity-dialog.cpp
+++ b/gui/integrity-dialog.cpp
@@ -489,7 +489,8 @@ Common::Array<Common::StringArray> IntegrityDialog::generateChecksums(Common::Pa
 		fileChecksums.push_back(fileChecksum);
 	}
 
-	setState(kChecksumComplete);
+	if (currentPath == gamePath) // Enter "checksum complete" state only once the whole root directory has been processed
+		setState(kChecksumComplete);
 	return fileChecksums;
 }
 




More information about the Scummvm-git-logs mailing list