Norbyte / lslib

Tools for manipulating Divinity Original Sin and Baldur's Gate 3 files
MIT License
761 stars 141 forks source link

_GrannyDecompressData@32 != GrannyDecompressData (Bug caused by Move to 64-bit) #57

Closed lukts30 closed 3 years ago

lukts30 commented 3 years ago

64Bit LSLibNative.dll calls _GrannyDecompressData@32 but the provided 64 bit granny2.dll exports GrannyDecompressData.

https://github.com/Norbyte/lslib/blob/2e17209041c89556149d88f997bb76e4d22642c5/LSLibNative/granny2wrapper.cpp#L29 Changing this line fixes the problem for me.

Norbyte commented 3 years ago

Good catch, fixed!