Fix size alignment

This commit is contained in:
Maschell 2019-03-08 18:05:47 +01:00
parent 389b710a73
commit a366f0eafc

View File

@ -138,7 +138,8 @@ public class RPXFileSystem implements GFileSystem {
inflater.end(); inflater.end();
curSize = section_size_inflated & ~0x3; // Is this alignment really necessary?
curSize = (section_size_inflated + 0x03) & ~0x3;
flags &= ~SHF_RPL_ZLIB; flags &= ~SHF_RPL_ZLIB;
data = decompressed; data = decompressed;
} }