diff options
author | Luke Usher <luke.usher@outlook.com> | 2018-10-02 09:24:20 +0100 |
---|---|---|
committer | Luke Usher <luke.usher@outlook.com> | 2018-10-02 09:24:20 +0100 |
commit | 5073ab41a88a07eba42877d9285601d319b14067 (patch) | |
tree | 7c280e5ed7708867d6e45a3d38c9384a36165967 /subhook_x86.c | |
parent | 4c6019fc51cd7d4af5c70d375e3f1f0fcc48d48c (diff) | |
download | subhook-5073ab41a88a07eba42877d9285601d319b14067.zip subhook-5073ab41a88a07eba42877d9285601d319b14067.tar.gz subhook-5073ab41a88a07eba42877d9285601d319b14067.tar.bz2 |
Add xor (0x33): Fixes SetRenderState_ZBias trampoline
Diffstat (limited to 'subhook_x86.c')
-rw-r--r-- | subhook_x86.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/subhook_x86.c b/subhook_x86.c index 871a8a6..adb5dda 100644 --- a/subhook_x86.c +++ b/subhook_x86.c @@ -158,6 +158,7 @@ static size_t subhook_disasm(void *src, int32_t *reloc_op_offset) { /* TEST r/m32, imm32 */ {0xF7, 0, MODRM | REG_OPCODE | IMM32}, /* TEST r/m8, r8 */ {0x84, 0, MODRM}, /* TEST r/m32, r32 */ {0x85, 0, MODRM}, + /* XOR r32,r/m32 */ {0x33, 0, MODRM }, /* NOP */ {0x90, 0, 0} }; |