fixed bug

This commit is contained in:
Perfare 2021-11-24 07:02:38 +08:00
parent 790ef12be3
commit 5bdb2984ff

View file

@ -69,7 +69,7 @@ namespace Il2CppDumper
} }
} }
imageDefs = ReadMetadataClassArray<Il2CppImageDefinition>(header.imagesOffset, header.imagesCount); imageDefs = ReadMetadataClassArray<Il2CppImageDefinition>(header.imagesOffset, header.imagesCount);
if (version == 24 && header.assembliesCount / 68 < imageDefs.Length) if (Version == 24.2 && header.assembliesCount / 68 < imageDefs.Length)
{ {
Version = 24.4; Version = 24.4;
} }