Skip to content

Commit 3eb40ca

Browse files
committed
Lib: Fix regression in reading v29.1
1 parent f6716b2 commit 3eb40ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LibCpp2IL/BinaryStructures/Il2CppCodeRegistration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public static int GetStructSize(bool isBinary32Bit, float metadataVersion)
3434
//unresolvedVirtualCallPointers
3535
size += 2 * ptrSize;
3636

37-
if (metadataVersion is (> 29.1f and < 31f) or >= 31.1f)
37+
if (metadataVersion is (>= 29.1f and < 31f) or >= 31.1f)
3838
//unresolvedInstanceCallPointers and unresolvedStaticCallPointers
3939
size += 2 * ptrSize;
4040

0 commit comments

Comments
 (0)