ENGINES: AD: When file has no Mac Resource fork, compute its md5 normally

This commit is contained in:
Eugene Sandulenko 2017-01-13 22:13:14 +01:00
parent 8096ccb745
commit cadb29d83d

View file

@ -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))