From e3be1f5a33e486e81dd26951061a2d85e837135b Mon Sep 17 00:00:00 2001 From: Maschell Date: Wed, 5 Jun 2019 21:17:11 +0200 Subject: [PATCH] Fix titles without a FST --- .../mas/wiiu/jnus/implementations/FSTDataProviderNUSTitle.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/mas/wiiu/jnus/implementations/FSTDataProviderNUSTitle.java b/src/de/mas/wiiu/jnus/implementations/FSTDataProviderNUSTitle.java index 39bcbf8..cca3f21 100644 --- a/src/de/mas/wiiu/jnus/implementations/FSTDataProviderNUSTitle.java +++ b/src/de/mas/wiiu/jnus/implementations/FSTDataProviderNUSTitle.java @@ -53,7 +53,7 @@ public class FSTDataProviderNUSTitle implements FSTDataProvider, HasNUSTitle { // If the tmd has only one content file, it has not FST. We have to create our own FST. Content c = title.getTMD().getAllContents().values().stream().collect(Collectors.toList()).get(0); FSTEntry root = FSTEntry.getRootFSTEntry(); - FSTEntry.createFSTEntry(root, "data.bin", c); // Will add this title root. + root.addChildren(FSTEntry.createFSTEntry(root, "data.bin", c)); rootEntry = root; } else { throw new IOException("No FST root entry was found");