bug fixes, with TODO added

This commit is contained in:
soarqin committed 2024-02-16 21:59:34 +08:00
1 parent 8a19dfac9f
commit 534d602953
6 files changed
+49 -13

No files matched your search

+2 -2
View File
@@ -49,9 +49,9 @@ public static class PlanetPatch
{
var matcher = new CodeMatcher(instructions, generator);
matcher.MatchForward(false,
new CodeMatch(instr => instr.opcode == OpCodes.Ldc_I4_S && instr.OperandIs(22))
new CodeMatch(instr => instr.opcode == OpCodes.Ldc_I4_S && instr.OperandIs(23))
).Advance(1).MatchForward(false,
new CodeMatch(instr => instr.opcode == OpCodes.Ldc_I4_S && instr.OperandIs(22))
new CodeMatch(instr => instr.opcode == OpCodes.Ldc_I4_S && instr.OperandIs(23))
);
matcher.Repeat(codeMatcher =>
{