mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
* DiscImageChef.Filesystems/LisaFS/Super.cs:
Initialize debug structures before the root catalog is cached. * DiscImageChef.Filesystems/LisaFS/File.cs: Detect truncated files (errors in the filesystem).
This commit is contained in:
@@ -206,6 +206,12 @@ namespace DiscImageChef.Filesystems.LisaFS
|
||||
Errno error;
|
||||
|
||||
mounted = true;
|
||||
this.debug = debug;
|
||||
|
||||
if(debug)
|
||||
{
|
||||
printedExtents = new List<short>();
|
||||
}
|
||||
|
||||
List<CatalogEntry> tempCat;
|
||||
error = ReadCatalog((short)FILEID_DIRECTORY, out tempCat);
|
||||
@@ -217,8 +223,6 @@ namespace DiscImageChef.Filesystems.LisaFS
|
||||
return error;
|
||||
}
|
||||
|
||||
this.debug = debug;
|
||||
|
||||
if(debug)
|
||||
{
|
||||
byte[] temp;
|
||||
@@ -286,11 +290,6 @@ namespace DiscImageChef.Filesystems.LisaFS
|
||||
xmlFSType.VolumeName = mddf.volname;
|
||||
xmlFSType.VolumeSerial = String.Format("{0:X16}", mddf.volid);
|
||||
|
||||
if(debug)
|
||||
{
|
||||
printedExtents = new List<short>();
|
||||
}
|
||||
|
||||
return Errno.NoError;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user