mirror of
https://github.com/CloudDelphi/Virtual-File-System
synced 2025-12-19 09:53:54 +01:00
Added nopping of semi-overwritten command after splicing call
This commit is contained in:
parent
c605df838c
commit
420ddd7c15
@ -159,6 +159,7 @@ begin
|
||||
// Create and apply hook at target function start
|
||||
p.Clear();
|
||||
p.Jump(PatchForge.JMP, SpliceBridge);
|
||||
p.Nop(OverwrittenCodeSize - p.Pos);
|
||||
|
||||
if AppliedPatch <> nil then begin
|
||||
AppliedPatch.Addr := OrigFunc;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user