summaryrefslogtreecommitdiff
path: root/tools/gbagfx/lz.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2019-09-03 22:22:14 -0400
committerGitHub <noreply@github.com>2019-09-03 22:22:14 -0400
commit6b04ea0727973e66227b31caa2ccdcb6f2b4891f (patch)
tree4d5e4e5d1b6e480bd195d8a9a29703e6475cc2e9 /tools/gbagfx/lz.c
parentecf2097abb1481109578b7b8260fd40606f27abe (diff)
parent1f4c88c95243e8d75f25d5b7868c837c47aa578d (diff)
Merge branch 'master' into document-eventscripts
Diffstat (limited to 'tools/gbagfx/lz.c')
-rw-r--r--tools/gbagfx/lz.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/gbagfx/lz.c b/tools/gbagfx/lz.c
index c2ba3e327..97434ce50 100644
--- a/tools/gbagfx/lz.c
+++ b/tools/gbagfx/lz.c
@@ -69,10 +69,8 @@ fail:
FATAL_ERROR("Fatal error while decompressing LZ file.\n");
}
-unsigned char *LZCompress(unsigned char *src, int srcSize, int *compressedSize)
+unsigned char *LZCompress(unsigned char *src, int srcSize, int *compressedSize, const int minDistance)
{
- const int minDistance = 2; // for compatibility with LZ77UnCompVram()
-
if (srcSize <= 0)
goto fail;