Skip to content

Commit

Permalink
Add reference to 'preserve' config entry
Browse files Browse the repository at this point in the history
  • Loading branch information
nosoop committed Apr 4, 2022
1 parent 0acfe67 commit c0d399e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ referencing in IDA or similar.
supported) indicating the byte payload and a signature to match against at the previously
mentioned offset.
- `verify` signatures can use `\x2A` to indicate wildcards, same as SourceMod.
- An optional `preserve` hex string indicating which bits from the original location should be
copied to the patch. (New in 0.7.x.)
- For example, if you want to copy the high 4 bits in a byte from the original memory,
that would be represented in binary as `0b11110000`, and you would use `\xF0`.

Any values written on top of an applied patch will be reverted back when the patch is removed.

Expand Down

0 comments on commit c0d399e

Please sign in to comment.