Use the latest JNUSLib version. This fixes a bug while parsing the FST. The reading speed should also be increased.

This commit is contained in:
Maschell 2019-04-26 19:23:22 +02:00
parent 041aa4c949
commit 245aecef89
2 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@
<dependency> <dependency>
<groupId>com.github.Maschell</groupId> <groupId>com.github.Maschell</groupId>
<artifactId>JNUSLib</artifactId> <artifactId>JNUSLib</artifactId>
<version>c1a1961</version> <version>3eb299d</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.projectlombok</groupId> <groupId>org.projectlombok</groupId>

View File

@ -212,7 +212,7 @@ public class NUSTitleEncryptedFuseContainer implements FuseContainer {
byte[] data; byte[] data;
try { try {
data = title.getDataProvider().getChunkFromContent(c, offset, (int) size); data = title.getDataProvider().readContent(c, offset, (int) size);
buf.put(0, data, 0, data.length); buf.put(0, data, 0, data.length);
return data.length; return data.length;
} catch (Exception e) { } catch (Exception e) {