WiiFlow_Lite/source/plugin/crc32.h
fix94.1 fb7cdc4d75 -changed optimize level from -O2 to -O1 to fix some broken PNG
images
-changed list stuff a bit again, it'll take more mem now but
therefore it shouldnt slowdown when having alot of folders
@devs
-added crc32buffer, if you wanna know if the content is OK just
crc32 it :P
2012-10-08 12:44:31 +00:00

20 lines
282 B
C

#ifndef CRC32_H
#define CRC32_H
#ifdef __cplusplus
extern "C"
{
#endif
#define UPDC32(octet, crc) (crc_32_tab[((crc)\
^ (octet)) & 0xff] ^ ((crc) >> 8))
u32 crc32file(char *name);
u32 crc32buffer(const u8 *s, const u32 len);
#ifdef __cplusplus
}
#endif
#endif /* CRC32_H */