Skip to content

Commit

Permalink
fixed carry in incremental runs #2
Browse files Browse the repository at this point in the history
hopefully true this time :|
  • Loading branch information
sverx committed Jan 2, 2015
1 parent 66df82b commit a1c72c9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified compressor plugin/gfxcomp_stm.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion compressor plugin/src/gfxcomp_stm.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ __declspec(dllexport) int compressTilemap(uint8_t* source, uint32_t width, uint3
if ((buf[current+i-1]+1)!=buf[current+i]) break; // leave if no successive
}

cur_HH=buf[current]&0xff00; // make sure we keep the last HH
cur_HH=buf[current+i-1]&0xff00; // make sure we keep the last HH

if (!checkHI(i))
return (0); // please give me more space for output
Expand Down

0 comments on commit a1c72c9

Please sign in to comment.