Fix CRC32
This commit is contained in:
parent
85d13ae436
commit
e8ddac4964
|
|
@ -105,9 +105,8 @@ namespace Nz
|
|||
|
||||
ByteArray CRC32Hasher::End()
|
||||
{
|
||||
#ifdef NAZARA_BIG_ENDIAN
|
||||
m_crc = ByteSwap(m_crc ^ 0xFFFFFFFF);
|
||||
#endif
|
||||
m_crc = HostToLittleEndian(m_crc ^ 0xFFFFFFFF);
|
||||
|
||||
return ByteArray(reinterpret_cast<UInt8*>(&m_crc), 4);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue