Added support for LisaFS v2.

This commit is contained in:
2016-07-28 04:12:49 +01:00
parent 0484d66c14
commit 99c567d3b3
5 changed files with 95 additions and 17 deletions

View File

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