mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 13:42:47 +00:00
11 lines
404 B
C
11 lines
404 B
C
|
// C port of byuu's \nall\crc32.hpp, which was released under GPLv3
|
||
|
// https://github.com/eai04191/beat/blob/master/nall/crc32.hpp
|
||
|
// Ported by Hyarion for use with VirtualFatFS
|
||
|
|
||
|
#pragma once
|
||
|
#include "vff.h"
|
||
|
|
||
|
uint32_t crc32_adjust(uint32_t crc32, uint8_t input);
|
||
|
uint32_t crc32_calculate(const uint8_t* data, unsigned int length);
|
||
|
uint32_t crc32_calculate_from_file(FIL inputFile, unsigned int length);
|