From 40d7e020061469bdeadd650cd117043385544261 Mon Sep 17 00:00:00 2001 From: SarahW Date: Fri, 28 Jul 2017 20:30:10 +0100 Subject: [PATCH] Fixed recompiler bug introduced by REP rework - Windows XP installer works again. --- src/codegen_x86-64.c | 2 +- src/codegen_x86.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/codegen_x86-64.c b/src/codegen_x86-64.c index 3e3f679..7220966 100644 --- a/src/codegen_x86-64.c +++ b/src/codegen_x86-64.c @@ -1120,7 +1120,7 @@ generate_call: #endif } - if ((op_table == x86_opcodes_REPNE || op_table == x86_opcodes_REPE) && !op_table[opcode | op_32]) + if ((op_table == x86_dynarec_opcodes_REPNE || op_table == x86_dynarec_opcodes_REPE) && !op_table[opcode | op_32]) { op_table = x86_dynarec_opcodes; recomp_op_table = recomp_opcodes; diff --git a/src/codegen_x86.c b/src/codegen_x86.c index 4d71317..14f076e 100644 --- a/src/codegen_x86.c +++ b/src/codegen_x86.c @@ -2053,7 +2053,7 @@ generate_call: #endif } - if ((op_table == x86_opcodes_REPNE || op_table == x86_opcodes_REPE) && !op_table[opcode | op_32]) + if ((op_table == x86_dynarec_opcodes_REPNE || op_table == x86_dynarec_opcodes_REPE) && !op_table[opcode | op_32]) { op_table = x86_dynarec_opcodes; recomp_op_table = recomp_opcodes;