mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
EVENTRECORDER: Do not check md5s which were skipped on save
This commit is contained in:
parent
045df72426
commit
b376250846
@ -334,6 +334,9 @@ bool EventRecorder::checkGameHash(const ADGameDescription *gameDesc) {
|
||||
return false;
|
||||
}
|
||||
for (const ADGameFileDescription *fileDesc = gameDesc->filesDescriptions; fileDesc->fileName; fileDesc++) {
|
||||
if (fileDesc->md5 == nullptr)
|
||||
continue;
|
||||
|
||||
if (_playbackFile->getHeader().hashRecords.find(fileDesc->fileName) == _playbackFile->getHeader().hashRecords.end()) {
|
||||
warning("MD5 hash for file %s not found in record file", fileDesc->fileName);
|
||||
debugC(1, kDebugLevelEventRec, "playback:action=\"Check game hash\" filename=%s filehash=%s storedhash=\"\" result=different", fileDesc->fileName, fileDesc->md5);
|
||||
|
Loading…
Reference in New Issue
Block a user