mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Recognize .toast files properly. Fixes #663
(cherry picked from commit 88aeda7240)
This commit is contained in:
@@ -120,6 +120,18 @@ namespace Aaru.DiscImages
|
||||
case ".iso" when imageFilter.GetDataForkLength() % 2048 == 0:
|
||||
_imageInfo.SectorSize = 2048;
|
||||
|
||||
break;
|
||||
case ".toast" when imageFilter.GetDataForkLength() % 2048 == 0:
|
||||
_imageInfo.SectorSize = 2048;
|
||||
|
||||
break;
|
||||
case ".toast" when imageFilter.GetDataForkLength() % 2336 == 0:
|
||||
_imageInfo.SectorSize = 2336;
|
||||
|
||||
break;
|
||||
case ".toast" when imageFilter.GetDataForkLength() % 2352 == 0:
|
||||
_imageInfo.SectorSize = 2352;
|
||||
|
||||
break;
|
||||
case ".d81" when imageFilter.GetDataForkLength() == 819200:
|
||||
_imageInfo.SectorSize = 256;
|
||||
|
||||
Reference in New Issue
Block a user