mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Added debug code.
This commit is contained in:
@@ -348,6 +348,13 @@ namespace DiscImageChef.ImagePlugins
|
||||
if(!string.IsNullOrEmpty(ImageInfo.imageComments))
|
||||
DicConsole.VerboseWriteLine("IMD comments: {0}", ImageInfo.imageComments);
|
||||
|
||||
/*
|
||||
FileStream debugFs = new FileStream("debug.img", FileMode.CreateNew, FileAccess.Write);
|
||||
for(ulong i = 0; i < ImageInfo.sectors; i++)
|
||||
debugFs.Write(ReadSector(i), 0, (int)ImageInfo.sectorSize);
|
||||
debugFs.Dispose();
|
||||
*/
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user