mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
* DiscImageChef.Filters/PCExchange.cs:
Removed debug messages. * DiscImageChef.Filesystems/FAT.cs: Corrected syntax bug. * DiscImageChef.Filters/Filters.cs: Corrected handling of "No filter". * DiscImageChef.Filesystems/AmigaDOS.cs: Corrected detection of FFS on hard disks and FFS with block sizes > sector size.
This commit is contained in:
@@ -73,7 +73,6 @@ namespace DiscImageChef.Filters
|
||||
{
|
||||
if(filter.UUID != new Guid("12345678-AAAA-BBBB-CCCC-123456789000"))
|
||||
{
|
||||
System.Console.WriteLine("Trying filter {0}", filter.Name);
|
||||
if(filter.Identify(path))
|
||||
{
|
||||
Filter foundFilter = (Filter)filter.GetType().GetConstructor(Type.EmptyTypes).Invoke(new object[] { });
|
||||
@@ -87,6 +86,14 @@ namespace DiscImageChef.Filters
|
||||
noFilter = filter;
|
||||
}
|
||||
|
||||
if(noFilter.Identify(path))
|
||||
{
|
||||
noFilter.Open(path);
|
||||
|
||||
if(noFilter.IsOpened())
|
||||
return noFilter;
|
||||
}
|
||||
|
||||
return noFilter;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user