diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/adl/disk.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/adl/disk.cpp b/engines/adl/disk.cpp index 133c655706..2c1fe8e767 100644 --- a/engines/adl/disk.cpp +++ b/engines/adl/disk.cpp @@ -406,7 +406,8 @@ void Files_DOS33::readVTOC() { entry.totalSectors = stream->readUint16BE(); - if (sectorList.track != 0) { + // 0 is empty slot, 255 is deleted file + if (sectorList.track != 0 && sectorList.track != 255) { readSectorList(sectorList, entry.sectors); _toc[name] = entry; } |