Fixed a tiny oversight in buildFileTable() when using a 320Kb diskette formatted by DOS 1.10
This commit is contained in:
parent
88b485d094
commit
64845d782f
9 changed files with 282 additions and 280 deletions
|
|
@ -1481,6 +1481,8 @@ Disk.prototype.buildFileTable = function()
|
|||
else if (cbDisk == 320 * 1024 && this.getClusterEntry(dir, 0, 0) == DiskAPI.FAT.MEDIA_320KB) {
|
||||
dir.lbaTotal = 640;
|
||||
dir.nEntries = 112;
|
||||
this.assert(this.nHeads == 2);
|
||||
dir.nClusterSecs++; // 320Kb disks use 2 sectors/cluster
|
||||
fValid = true;
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue