iggy 32 bit not supported yet

This commit is contained in:
Jindra Petřík
2016-12-24 12:58:25 +01:00
parent 7c8228f76d
commit 7783c0c518
2 changed files with 2275 additions and 2272 deletions

View File

@@ -199,6 +199,9 @@ public class IggyFile implements StructureInterface {
@Override
public void readFromDataStream(ReadDataStreamInterface stream) throws IOException {
header = new IggyHeader(stream);
if (!header.is64()) {
throw new IOException("32 bit iggy files are not (yet) supported, sorry");
}
for (int i = 0; i < header.getNumSubfiles(); i++) {
subFileEntries.add(new IggySubFileEntry(stream));
}