From 897afeeb2ade6eab2cbdc369e912d6f149c0156e Mon Sep 17 00:00:00 2001 From: Maschell Date: Sun, 20 Dec 2020 11:23:50 +0100 Subject: [PATCH] Update the warning then volume addresses are missing or more than one address is provided --- .../implementations/wud/content/partitions/WiiUPartitions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/mas/wiiu/jnus/implementations/wud/content/partitions/WiiUPartitions.java b/src/main/java/de/mas/wiiu/jnus/implementations/wud/content/partitions/WiiUPartitions.java index 36584af..2449546 100644 --- a/src/main/java/de/mas/wiiu/jnus/implementations/wud/content/partitions/WiiUPartitions.java +++ b/src/main/java/de/mas/wiiu/jnus/implementations/wud/content/partitions/WiiUPartitions.java @@ -76,7 +76,7 @@ public class WiiUPartitions extends LinkedList { val nonGMPartitions = tmp.stream().filter(e -> !e.getVolumeID().startsWith("GM")).collect(Collectors.toList()); for (val partition : nonGMPartitions) { if (partition.getVolumes().size() != 1) { - throw new IOException("We can't handle more than one partion address yet."); + throw new IOException("We can't handle more or less than one partion address yet."); } val volumeAddress = partition.getVolumes().keySet().iterator().next(); VolumeHeader vh = VolumeHeader.parseData(reader, volumeAddress.getAddressInBytes());