aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/survive.c1
1 files changed, 1 insertions, 0 deletions
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 );