Invert CRC to match most popular implementations.

This commit is contained in:
Nick Hastings 2021-10-30 11:45:45 -04:00 committed by Nicholas Hastings
parent 8991b557ab
commit 9a6866d14a

View File

@ -89,6 +89,6 @@ unsigned int UTIL_CRC32(const void *pdata, size_t data_length)
crc = CRCTable[c] ^ (crc >> 8);
}
return crc;
return ~crc;
}