allow < 4 catalog blocks

This commit is contained in:
Denis Molony 2020-02-14 13:25:49 +10:00
parent fe1f038087
commit 0c66757679

View File

@ -235,7 +235,7 @@ public class ProdosDisk extends AbstractFormattedDisk
return false;
int bitMapBlock = HexFormatter.intValue (buffer[0x27], buffer[0x28]);
if (bitMapBlock != 6)
if (bitMapBlock < 3 || bitMapBlock > 10)
return false;
return true;