-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong decode Bge_Un_S, decoding as Bge_Un ... #69
Comments
this might be feature |
It's on purpose. I don't remember what the reasoning was but it was solid, Horse should know. https://github.com/BepInEx/HarmonyX/blob/46b77d08eac32f8d17f0cbe761bd74cd2be21ff7/Harmony/Internal/Patching/ILManipulator.cs#LL25C64-L25C64 |
I'm running into this same issue. I was hoping to convince a project to switch to HarmonyX but since it seems HX rewrites instructions its breaking transpilers of other stuff built with it... Would you be willing to accept making NormalizeInstructions an optional step that can be disabled? |
Sadly it looks like Horse is on a hiatus so someone else that knows what's up will have to look into this. I'm worried about changing this in case it breaks existing mods, since I assume that fixing some edge case is why the commit happened in the first place. It'd be nice if there was an easy way to compare results between fix and no fix in bulk and do it for a bunch of games... |
Use this patch function, original Harmony - ok, HarmonyX - failed ...
After debugger - HarmonyX decode Bge_Un_S as Bge_Un ...
The text was updated successfully, but these errors were encountered: