Iterate through sectors (not tracks) in getFiles().
This commit is contained in:
parent
93cc49e546
commit
31875ea60c
|
@ -139,7 +139,7 @@ public class DosFormatDisk extends FormattedDisk {
|
|||
byte[] vtoc = readVtoc();
|
||||
int track = AppleUtil.getUnsignedByte(vtoc[1]);
|
||||
int sector = AppleUtil.getUnsignedByte(vtoc[2]);
|
||||
while (track != 0) { // iterate through all catalog sectors
|
||||
while (sector != 0) { // bug fix: iterate through all catalog _sectors_
|
||||
byte[] catalogSector = readSector(track, sector);
|
||||
int offset = 0x0b;
|
||||
while (offset < 0xff) { // iterate through all entries
|
||||
|
|
Loading…
Reference in New Issue