mirror of
https://github.com/cemu-project/GhidraRPXLoader.git
synced 2024-11-25 18:46:56 +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();
|
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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user