# | Line 65 | Line 65 | void* DDrPatch_MakeDetour(void* from, vo | |
---|---|---|
65 | } | |
66 | branches++; | |
67 | int target = disasm.Instruction.AddrValue; | |
68 | < | bool targetInTrampoline = ((void*)disasm.Instruction.AddrValue - from) < 5; |
68 | > | bool targetInTrampoline = ((void*)((int)disasm.Instruction.AddrValue) - from) < 5; |
69 | switch (disasm.Instruction.BranchType) { | |
70 | case JmpType: | |
71 | case CallType: |
– | Removed lines |
+ | Added lines |
< | Changed lines (old) |
> | Changed lines (new) |