mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Fail on StuffIt compressed images.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2016-09-30 Natalia Portillo <claunia@claunia.com>
|
||||||
|
|
||||||
|
* NDIF.cs: Fail on StuffIt compressed images.
|
||||||
|
|
||||||
2016-09-30 Natalia Portillo <claunia@claunia.com>
|
2016-09-30 Natalia Portillo <claunia@claunia.com>
|
||||||
|
|
||||||
* CHD.cs:
|
* CHD.cs:
|
||||||
|
|||||||
@@ -341,6 +341,8 @@ namespace DiscImageChef.DiscImages
|
|||||||
throw new ImageNotSupportedException("Chunks compressed with LZH are not yet supported.");
|
throw new ImageNotSupportedException("Chunks compressed with LZH are not yet supported.");
|
||||||
if((bChnk.type == ChunkType_ADC))
|
if((bChnk.type == ChunkType_ADC))
|
||||||
throw new ImageNotSupportedException("Chunks compressed with ADC are not yet supported.");
|
throw new ImageNotSupportedException("Chunks compressed with ADC are not yet supported.");
|
||||||
|
if((bChnk.type == ChunkType_StuffIt))
|
||||||
|
throw new ImageNotSupportedException("Chunks compressed with StuffIt! are not yet supported.");
|
||||||
|
|
||||||
// TODO: Handle compressed chunks
|
// TODO: Handle compressed chunks
|
||||||
if((bChnk.type > ChunkType_Copy && bChnk.type < ChunkType_KenCode) ||
|
if((bChnk.type > ChunkType_Copy && bChnk.type < ChunkType_KenCode) ||
|
||||||
|
|||||||
Reference in New Issue
Block a user