mirror of
https://github.com/Maschell/JNUSLib.git
synced 2025-02-16 16:29:14 +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);
|
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()) {
|
for (val dirChilden : siFST.getRoot().getDirChildren()) {
|
||||||
// The SI partition contains the tmd, cert and tik for every GM partition.
|
// 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");
|
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);
|
WUDDataPartition curDataPartition = new WUDDataPartition(curPartionName, partitionOffset + headerSize, curFST);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user