allow 2img length = 0

This commit is contained in:
Denis Molony 2023-02-20 13:02:53 +10:00
parent 4e48437adc
commit 64d5ce9ee2

View File

@ -51,6 +51,9 @@ public class Prefix2mg
if (format == 0 && flagsVolume == 0)
flagsVolume = 254;
if (length == 0)
length = 512 * blocks;
// see /Asimov disks/images/gs/os/prodos16/ProDOS 16v1_3.2mg
// System.out.println (this);
}