From 03a63ecb88fa04929cd45b58c1e4faaf11a838e1 Mon Sep 17 00:00:00 2001 From: SarahW Date: Tue, 13 Jun 2017 20:34:45 +0100 Subject: [PATCH] Fixed typo in x86-64 MEM_CHECK_WRITE_W()/L() functions - Windows XP boots on x86-64 recompiler again. --- src/codegen_ops_x86-64.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/codegen_ops_x86-64.h b/src/codegen_ops_x86-64.h index e0cb874..c0fa7c5 100644 --- a/src/codegen_ops_x86-64.h +++ b/src/codegen_ops_x86-64.h @@ -5509,7 +5509,7 @@ static inline void MEM_CHECK_WRITE_W(x86seg *seg) { addbyte(0x83); /*CMP writelookup2[RSI*8],-1*/ addbyte(0x3c); - addbyte(0xfd); + addbyte(0xf5); addlong((uint32_t)(uintptr_t)writelookup2); addbyte(-1); } @@ -5658,7 +5658,7 @@ static inline void MEM_CHECK_WRITE_L(x86seg *seg) { addbyte(0x83); /*CMP writelookup2[RSI*8],-1*/ addbyte(0x3c); - addbyte(0xfd); + addbyte(0xf5); addlong((uint32_t)(uintptr_t)writelookup2); addbyte(-1); }