summaryrefslogtreecommitdiffstats
path: root/courgette/crc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'courgette/crc.cc')
-rw-r--r--courgette/crc.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/courgette/crc.cc b/courgette/crc.cc
index 60c8c93..02b7fe9 100644
--- a/courgette/crc.cc
+++ b/courgette/crc.cc
@@ -13,9 +13,9 @@ extern "C" {
namespace courgette {
uint32 CalculateCrc(const uint8* buffer, size_t size) {
- // CrcGenerateTable();
+ CrcGenerateTable();
uint32 crc = 0xffffffffL;
- // crc = ~CrcCalc(buffer, size);
+ crc = ~CrcCalc(buffer, size);
return crc;
}