fix: migrate patches to latest patcher api changes

This commit is contained in:
oSumAtrIX
2022-06-01 01:40:57 +02:00
parent f55ad46322
commit 39cf505d84
14 changed files with 65 additions and 18 deletions
@@ -135,11 +135,13 @@ class MicroGBytecodePatch : BytecodePatch(
const/4 v0, 0x0
return-object v0
"""
'V' -> "return-void"
'I' -> """
const/4 v0, 0x0
return v0
"""
else -> throw Exception("This case should never happen.")
}
result.method.implementation!!.addInstructions(