Am 21.01.2016 um 16:47 schrieb ion(a)svn.reactos.org:
Author: ion
Date: Thu Jan 21 15:47:14 2016
New Revision: 70633
URL:
http://svn.reactos.org/svn/reactos?rev=70633&view=rev
Log:
[BOOTLIB]: Cleanup, less magic.
Looks like you forgot to cleanup this special piece of extra magic.
+ if (Length != Length)
+ {
+ PartialSum += (unsigned __int8)Buffer[Length];
+ if (Flags & BL_UTL_CHECKSUM_COMPLEMENT)
+ {
+ PartialSum = (unsigned __int16)((PartialSum >> 16) + PartialSum);
+ }
+ }
+