Added support for LisaFS v1.

This commit is contained in:
2016-07-28 05:34:23 +01:00
parent 99c567d3b3
commit 6c92af5841
5 changed files with 32 additions and 15 deletions

View File

@@ -390,7 +390,7 @@ namespace DiscImageChef.Filesystems.LisaFS
tags &= debug;
if(fileId < 4 || (fileId == 4 && mddf.fsversion != LisaFSv2))
if(fileId < 4 || (fileId == 4 && (mddf.fsversion != LisaFSv2 && mddf.fsversion != LisaFSv1)))
return Errno.InvalidArgument;
if(!tags && fileCache.TryGetValue(fileId, out buf))