From 29a41e880cb76b118ddf1eebb27f31e73b8f219c Mon Sep 17 00:00:00 2001 From: Nikolaj Schlej Date: Wed, 18 Feb 2015 15:49:17 +0100 Subject: [PATCH] Calculate checksum for unknown volumes --- ffsengine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffsengine.cpp b/ffsengine.cpp index 9397498..2e0a8fe 100644 --- a/ffsengine.cpp +++ b/ffsengine.cpp @@ -815,7 +815,7 @@ UINT8 FfsEngine::parseVolume(const QByteArray & volume, QModelIndex & index, co // Check header checksum by recalculating it bool msgInvalidChecksum = false; - if (!volumeIsUnknown && calculateChecksum16((const UINT16*)volumeHeader, volumeHeader->HeaderLength)) + if (calculateChecksum16((const UINT16*)volumeHeader, volumeHeader->HeaderLength)) msgInvalidChecksum = true; // Get info