Copy Berry Fix MB dism from FR (#777)

* Copy Berry Fix MB dism from FR
This commit is contained in:
PikalaxALT authored and GitHub committed 2019-09-03 15:33:11 -04:00
1 parent 5d30304f4e
commit 1f4c88c952
66 files changed
+10373 -31

No files matched your search

+1 -3
View File
@@ -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;