Don't reject metadata v24 files

This commit is contained in:
Katy Coe
2017-11-22 15:34:59 +01:00
parent 56e1e0372a
commit 0899cdec43

View File

@@ -42,7 +42,7 @@ namespace Il2CppInspector
// Rewind and read metadata header in full // Rewind and read metadata header in full
Position -= 8; Position -= 8;
Header = ReadObject<Il2CppGlobalMetadataHeader>(); Header = ReadObject<Il2CppGlobalMetadataHeader>();
if (Version != 21 && Version != 22 && Version != 23) if (Version < 21 || Version > 24)
{ {
throw new Exception($"ERROR: Metadata file supplied is not a supported version ({Header.version})."); throw new Exception($"ERROR: Metadata file supplied is not a supported version ({Header.version}).");
} }