diff options
author | Eugene Sandulenko | 2017-01-13 22:13:14 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2017-01-13 22:20:51 +0100 |
commit | cadb29d83d3601ecf6b6eca726fc220670cc7136 (patch) | |
tree | f83b90b46dd52683328329b9c9f6099750b08c6f /engines | |
parent | 8096ccb74538d89b6b5ae8c24e1b8c9b0c306e17 (diff) | |
download | scummvm-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
Diffstat (limited to 'engines')
-rw-r--r-- | engines/advancedDetector.cpp | 4 |
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)) |