diff --git a/VfsPatching.pas b/VfsPatching.pas index 6cf124b..31cf23e 100644 --- a/VfsPatching.pas +++ b/VfsPatching.pas @@ -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;