diff --git a/arm9/source/lodepng/lodepng.h b/arm9/source/lodepng/lodepng.h index ba8c41a..14846f9 100644 --- a/arm9/source/lodepng/lodepng.h +++ b/arm9/source/lodepng/lodepng.h @@ -48,7 +48,7 @@ allow implementing a custom lodepng_crc32. #include "crc32.h" static inline unsigned lodepng_crc32(const unsigned char *data, size_t length) { - return crc32_calculate(0, data, length); + return crc32_calculate(0xffffffffu, data, length) ^ 0xffffffffu; } /*deflate & zlib. If disabled, you must specify alternative zlib functions in