mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2025-12-16 19:24:40 +00:00
Add new magic number.
This commit is contained in:
@@ -73,7 +73,8 @@ int identifyStream(FILE* imageStream)
|
||||
|
||||
if(ret < sizeof(AaruHeader)) return 0;
|
||||
|
||||
if(header.identifier == DIC_MAGIC && header.imageMajorVersion <= AARUF_VERSION) return 100;
|
||||
if((header.identifier == DIC_MAGIC || header.identifier == AARU_MAGIC) && header.imageMajorVersion <= AARUF_VERSION)
|
||||
return 100;
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user