Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change the way replaceInstructions work when using multiple instructi…
…ons. Currently it looks like if you have a target in the following style: indices = [1,5,7] replaceInstructions = [Ldc_i4_0, Ldc_i4_1, Ldc_i4_2] It will actually do the following in replaceInstructions: var index = indices[1]; //Index = 5 instructions[index] = replaceInstructions[index] //We don't have 5 replace instructions! only 3 because we specified 3 indices! The change will make it so that if you replace instructions at (For example) 1, 7, 10 it will just ask for the new instructions at index 0, 1 and 2.
- Loading branch information