From a15a75ea846f434691fc30f0db79e5fa844c065c Mon Sep 17 00:00:00 2001 From: cnlohr Date: Wed, 15 Mar 2017 21:34:33 -0400 Subject: add note about extra 2 bytes. --- src/survive.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/survive.c b/src/survive.c index 3c16353..a756f3e 100755 --- a/src/survive.c +++ b/src/survive.c @@ -252,6 +252,7 @@ struct SurviveObject * survive_get_so_by_name( struct SurviveContext * ctx, cons int survive_simple_inflate( struct SurviveContext * ctx, const char * input, int inlen, char * output, int outlen ) { + //Tricky: we actually get 2 bytes of data on the front. I don't know what it's for. 0x78 0x9c - puff doesn't deal with it well. unsigned long ol = outlen; unsigned long il = inlen-2; int ret = puff( output, &ol, input+2, &il ); -- cgit v1.2.3