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;