Skip to content

Commit c0d399e

Browse files
committed
Add reference to 'preserve' config entry
1 parent 0acfe67 commit c0d399e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ referencing in IDA or similar.
112112
supported) indicating the byte payload and a signature to match against at the previously
113113
mentioned offset.
114114
- `verify` signatures can use `\x2A` to indicate wildcards, same as SourceMod.
115+
- An optional `preserve` hex string indicating which bits from the original location should be
116+
copied to the patch. (New in 0.7.x.)
117+
- For example, if you want to copy the high 4 bits in a byte from the original memory,
118+
that would be represented in binary as `0b11110000`, and you would use `\xF0`.
115119

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

0 commit comments

Comments
 (0)