mirror of
https://github.com/Maschell/JNUSLib.git
synced 2024-11-17 13:39:19 +01:00
Update the warning then volume addresses are missing or more than one address is provided
This commit is contained in:
parent
70481e9adc
commit
897afeeb2a
@ -76,7 +76,7 @@ public class WiiUPartitions extends LinkedList<WiiUPartition> {
|
||||
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());
|
||||
|
Loading…
Reference in New Issue
Block a user