diff --git a/src/de/mas/wiiu/jnus/implementations/NUSDataProviderWUD.java b/src/de/mas/wiiu/jnus/implementations/NUSDataProviderWUD.java index 126dfc3..69f62ce 100644 --- a/src/de/mas/wiiu/jnus/implementations/NUSDataProviderWUD.java +++ b/src/de/mas/wiiu/jnus/implementations/NUSDataProviderWUD.java @@ -55,6 +55,11 @@ public class NUSDataProviderWUD extends NUSDataProvider { return (long) Settings.WIIU_DECRYPTED_AREA_OFFSET + getGamePartition().getPartitionOffset(); } + @Override + public byte[] getChunkFromContent(Content content, long offset, int size) throws IOException { + return discReader.readEncryptedToByteArray(getOffsetInWUD(content), offset, size); + } + @Override public InputStream getInputStreamFromContent(Content content, long fileOffsetBlock) throws IOException { WUDDiscReader discReader = getDiscReader();