IL2CPP: Fix loading incorrect number of metadata usages

This commit is contained in:
Katy Coe
2020-01-27 06:20:58 +01:00
parent d0583e83b7
commit f41a98fc7c
3 changed files with 35 additions and 29 deletions

View File

@@ -197,10 +197,6 @@ namespace Il2CppInspector
// Generic method specs
MethodSpecs = image.ReadMappedArray<Il2CppMethodSpec>(MetadataRegistration.methodSpecs, (int) MetadataRegistration.methodSpecsCount);
// Metadata usages (addresses)
if (image.Version >= 19)
MetadataUsages = image.ReadMappedArray<ulong>(MetadataRegistration.metadataUsages, (int)MetadataRegistration.metadataUsagesCount);
}
}
}