aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2017-01-13 22:13:14 +0100
committerEugene Sandulenko2017-01-13 22:20:51 +0100
commitcadb29d83d3601ecf6b6eca726fc220670cc7136 (patch)
treef83b90b46dd52683328329b9c9f6099750b08c6f
parent8096ccb74538d89b6b5ae8c24e1b8c9b0c306e17 (diff)
downloadscummvm-rg350-cadb29d83d3601ecf6b6eca726fc220670cc7136.tar.gz
scummvm-rg350-cadb29d83d3601ecf6b6eca726fc220670cc7136.tar.bz2
scummvm-rg350-cadb29d83d3601ecf6b6eca726fc220670cc7136.zip
ENGINES: AD: When file has no Mac Resource fork, compute its md5 normally
-rw-r--r--engines/advancedDetector.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/advancedDetector.cpp b/engines/advancedDetector.cpp
index 3b130de00f..8b6dc0c0d9 100644
--- a/engines/advancedDetector.cpp
+++ b/engines/advancedDetector.cpp
@@ -397,7 +397,9 @@ bool AdvancedMetaEngine::getFileProperties(const Common::FSNode &parent, const F
fileProps.md5 = macResMan.computeResForkMD5AsString(_md5Bytes);
fileProps.size = macResMan.getResForkDataSize();
- return true;
+
+ if (fileProps.size != 0)
+ return true;
}
if (!allFiles.contains(fname))