mirror of
https://github.com/Maschell/GhidraRPXLoader.git
synced 2024-11-14 04:15:09 +01:00
Fix size alignment
This commit is contained in:
parent
389b710a73
commit
a366f0eafc
@ -138,7 +138,8 @@ public class RPXFileSystem implements GFileSystem {
|
||||
|
||||
inflater.end();
|
||||
|
||||
curSize = section_size_inflated & ~0x3;
|
||||
// Is this alignment really necessary?
|
||||
curSize = (section_size_inflated + 0x03) & ~0x3;
|
||||
flags &= ~SHF_RPL_ZLIB;
|
||||
data = decompressed;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user