mirror of
https://github.com/0x5eal/rbxts-pako.git
synced 2025-04-03 02:10:57 +01:00
parent
b07a436d39
commit
a98f90806e
1 changed files with 3 additions and 0 deletions
|
@ -429,6 +429,9 @@ const inflate = (strm, flush) => {
|
|||
}
|
||||
//===//
|
||||
if ((state.wrap & 2) && hold === 0x8b1f) { /* gzip header */
|
||||
if (state.wbits === 0) {
|
||||
state.wbits = 15;
|
||||
}
|
||||
state.check = 0/*crc32(0L, Z_NULL, 0)*/;
|
||||
//=== CRC2(state.check, hold);
|
||||
hbuf[0] = hold & 0xff;
|
||||
|
|
Loading…
Add table
Reference in a new issue