mirror of
https://github.com/Maschell/JNUSLib.git
synced 2024-11-22 16:09:18 +01:00
Return an empty HashMap instead of null.
This commit is contained in:
parent
1ebe37b77e
commit
ef878f7e41
@ -130,7 +130,7 @@ public final class WUDInfoParser {
|
||||
throw new ParseException("Failed to decrypt the FST of the SI partition.", 0);
|
||||
}
|
||||
|
||||
FST siFST = FST.parseFST(fileTableBlock, null);
|
||||
FST siFST = FST.parseFST(fileTableBlock, new HashMap<>());
|
||||
|
||||
for (val dirChilden : siFST.getRoot().getDirChildren()) {
|
||||
// The SI partition contains the tmd, cert and tik for every GM partition.
|
||||
@ -188,7 +188,7 @@ public final class WUDInfoParser {
|
||||
throw new IOException("FST Decrpytion failed");
|
||||
}
|
||||
|
||||
FST curFST = FST.parseFST(curFileTableBlock, null);
|
||||
FST curFST = FST.parseFST(curFileTableBlock, new HashMap<>());
|
||||
|
||||
WUDDataPartition curDataPartition = new WUDDataPartition(curPartionName, partitionOffset + headerSize, curFST);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user