[Scummvm-git-logs] scummvm master -> 276116a492ff32845470ce68d7437ac7515378d1

bluegr noreply at scummvm.org
Tue Feb 17 22:54:03 UTC 2026


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:
276116a492 BASE: Fix --md5 complaining about Mac resources when used on non-Mac files


Commit: 276116a492ff32845470ce68d7437ac7515378d1
    https://github.com/scummvm/scummvm/commit/276116a492ff32845470ce68d7437ac7515378d1
Author: elasota (1137273+elasota at users.noreply.github.com)
Date: 2026-02-18T00:53:59+02:00

Commit Message:
BASE: Fix --md5 complaining about Mac resources when used on non-Mac files

Changed paths:
    base/commandLine.cpp


diff --git a/base/commandLine.cpp b/base/commandLine.cpp
index cfbc7aa6f5e..05358432232 100644
--- a/base/commandLine.cpp
+++ b/base/commandLine.cpp
@@ -2227,7 +2227,7 @@ bool processSettings(Common::String &command, Common::StringMap &settings, Commo
 			Common::Path fileName = Filename.getLastComponent();
 
 			Common::MacResManager macResMan;
-			if (macResMan.open(fileName, dir)) {
+			if (macResMan.open(fileName, dir) && macResMan.isMacFile()) {
 				warning("Mac resources detected");
 				command = "md5mac";
 			}




More information about the Scummvm-git-logs mailing list