The debug version of StormLib is compiled using CMake's release build type. This prevents some runtime asserts from misbehaving.
The llseek syscall (___syscall140) is replaced by a version that works around seeking to offsets >= 2 ** 31 bytes. This workaround will remain necessary until emscripten starts to use 64-bit integers for seeking offsets.
This fixes two issues with MPQs
>= 2 ** 31
bytes:The debug version of StormLib is compiled using CMake's release build type. This prevents some runtime asserts from misbehaving.
The
llseek
syscall (___syscall140
) is replaced by a version that works around seeking to offsets>= 2 ** 31
bytes. This workaround will remain necessary until emscripten starts to use 64-bit integers for seeking offsets.Closes #28