mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
RTech: fix bug in decompress error format
Must not include pak header size since we parse compressed frame header and determine actual frame size from there, else we get 2 equal number that somehow don't equal (Pak_InitDecoder returns frame size + pak header size)
This commit is contained in:
parent
4803afe6d9
commit
095f41bbe2
@ -392,7 +392,7 @@ LABEL_18:
|
||||
Error(eDLL_T::RTECH, EXIT_FAILURE,
|
||||
"Error reading pak file \"%s\" -- decompressed size %zu doesn't match expected value %zu\n",
|
||||
pak->memoryData.fileName,
|
||||
decompressedSize + sizeof(PakFileHeader_t),
|
||||
decompressedSize,
|
||||
pak->memoryData.pakHeader.decompressedSize);
|
||||
|
||||
pak->pakDecoder.outputBuf = pak->decompBuffer;
|
||||
|
Loading…
x
Reference in New Issue
Block a user