Closed AntonioDePau closed 1 year ago
Fixed with 5a4007273e840312914684d7ff0b9fdf21cdf241.
Sometimes a nested decompression check will find all the needed info to keep decompressing bytes even though we've already decompressed anything that needed to be decompressed.
On top of checking for 0x10 byte, we also need to make sure that the decompressed byte length matches the expected decompressed file length.
After nested decompression implementation the decompressed size of one of the QGM files (Grace Kelly - BH) is incorrect. The detected decompressed size is 0x20 even though that's lower than the whole compressed size.