diff --git a/src/de/mas/wiiu/jnus/implementations/wud/reader/WUDDiscReaderCompressed.java b/src/de/mas/wiiu/jnus/implementations/wud/reader/WUDDiscReaderCompressed.java index 86ccae5..f88aee2 100644 --- a/src/de/mas/wiiu/jnus/implementations/wud/reader/WUDDiscReaderCompressed.java +++ b/src/de/mas/wiiu/jnus/implementations/wud/reader/WUDDiscReaderCompressed.java @@ -71,7 +71,9 @@ public class WUDDiscReaderCompressed extends WUDDiscReader { input.seek(offset2); int read = input.read(buffer); - if (read < 0) return; + if (read < 0) { + break; + } try { out.write(Arrays.copyOfRange(buffer, 0, bytesToRead)); } catch (IOException e) {