mirror of
https://github.com/Maschell/JNUSLib.git
synced 2024-11-26 01:44:17 +01:00
Fixed the missing offset in reading WUD files
This commit is contained in:
parent
9d255e0291
commit
2479572917
@ -56,7 +56,7 @@ public abstract class WUDDiscReader {
|
||||
|
||||
public byte[] readEncryptedToByteArray(long offset, long fileoffset, long size) throws IOException {
|
||||
ByteArrayOutputStream out = new ByteArrayOutputStream();
|
||||
readEncryptedToOutputStream(out, offset, size);
|
||||
readEncryptedToOutputStream(out, offset + fileoffset, size);
|
||||
return out.toByteArray();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user