summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--courgette/courgette.gyp2
-rw-r--r--courgette/crc.cc4
2 files changed, 3 insertions, 3 deletions
diff --git a/courgette/courgette.gyp b/courgette/courgette.gyp
index 859212d..fdc65e4 100644
--- a/courgette/courgette.gyp
+++ b/courgette/courgette.gyp
@@ -15,7 +15,7 @@
'type': '<(library)',
'dependencies': [
'../base/base.gyp:base',
- #'../third_party/lzma_sdk/7z_C.vcproj',
+ '../third_party/lzma_sdk/lzma_sdk.gyp:lzma_sdk',
],
'msvs_guid': '9A72A362-E617-4205-B9F2-43C6FB280FA1',
'sources': [
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;
}