Add new magic number.

This commit is contained in:
2020-03-01 19:58:09 +00:00
parent d892f90a59
commit 629401939d
5 changed files with 12 additions and 9 deletions

View File

@@ -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;
}