From 245aecef8974de79f4b8da0d8310dfd483ca828a Mon Sep 17 00:00:00 2001 From: Maschell Date: Fri, 26 Apr 2019 19:23:22 +0200 Subject: [PATCH] Use the latest JNUSLib version. This fixes a bug while parsing the FST. The reading speed should also be increased. --- pom.xml | 2 +- .../implementation/NUSTitleEncryptedFuseContainer.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index ec14b6c..8603abf 100644 --- a/pom.xml +++ b/pom.xml @@ -92,7 +92,7 @@ com.github.Maschell JNUSLib - c1a1961 + 3eb299d org.projectlombok diff --git a/src/main/java/de/mas/wiiu/jnus/fuse_wiiu/implementation/NUSTitleEncryptedFuseContainer.java b/src/main/java/de/mas/wiiu/jnus/fuse_wiiu/implementation/NUSTitleEncryptedFuseContainer.java index a5827f3..07a3dc9 100644 --- a/src/main/java/de/mas/wiiu/jnus/fuse_wiiu/implementation/NUSTitleEncryptedFuseContainer.java +++ b/src/main/java/de/mas/wiiu/jnus/fuse_wiiu/implementation/NUSTitleEncryptedFuseContainer.java @@ -212,7 +212,7 @@ public class NUSTitleEncryptedFuseContainer implements FuseContainer { byte[] data; try { - data = title.getDataProvider().getChunkFromContent(c, offset, (int) size); + data = title.getDataProvider().readContent(c, offset, (int) size); buf.put(0, data, 0, data.length); return data.length; } catch (Exception e) {