mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-09-22 23:05:12 +00:00
Better handle version 3 CFB files, probably (fixes #3)
This commit is contained in:
@@ -191,6 +191,10 @@ namespace SabreTools.Serialization.Streams
|
||||
if (currentSector == SectorNumber.ENDOFCHAIN)
|
||||
break;
|
||||
|
||||
// If we have a free sector for a version 3 filie
|
||||
if (directorySectorCount == int.MaxValue && currentSector == SectorNumber.FREESECT)
|
||||
break;
|
||||
|
||||
// If we have a readable sector
|
||||
if (currentSector <= SectorNumber.MAXREGSECT)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user