Support writing logically block addressable tapes in dicformat.

This commit is contained in:
2019-05-01 22:51:30 +01:00
parent 9ec6787175
commit 9dd03546a1
6 changed files with 216 additions and 15 deletions

View File

@@ -107,8 +107,7 @@ namespace DiscImageChef.DiscImages
string[] separated = identify.Model.Split(' ');
if(separated.Length == 1)
if(string.IsNullOrWhiteSpace(imageInfo.DriveModel))
imageInfo.DriveModel = separated[0];
if(string.IsNullOrWhiteSpace(imageInfo.DriveModel)) imageInfo.DriveModel = separated[0];
else
{
if(string.IsNullOrWhiteSpace(imageInfo.DriveManufacturer))
@@ -249,7 +248,8 @@ namespace DiscImageChef.DiscImages
{
if(inMemoryDdt)
{
userDataDdt[sectorAddress] = pointer;
if(isTape) tapeDdt[sectorAddress] = pointer;
else userDataDdt[sectorAddress] = pointer;
return;
}