Fix all sub-images besides the first not having version number set

This commit is contained in:
Katy Coe
2019-10-16 06:59:17 +02:00
parent 169a21c277
commit d2a5f8c961

View File

@@ -43,7 +43,7 @@ namespace Il2CppInspector
// Check all search locations
public bool Initialize(double version, uint imageIndex = 0) {
var subImage = Image[imageIndex];
Image.Stream.Version = version;
subImage.Stream.Version = version;
var addrs = subImage.GetFunctionTable();
Console.WriteLine("Function Table:");