From f43334283b015a4b07bcaede35fbf85f967db305 Mon Sep 17 00:00:00 2001 From: OBattler Date: Fri, 28 Jul 2017 01:20:17 +0200 Subject: [PATCH] Fixed a small recompiler mistake - Windows XP now works again on the recompiler. --- src/CPU/codegen_x86-64.c | 2 +- src/CPU/codegen_x86.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CPU/codegen_x86-64.c b/src/CPU/codegen_x86-64.c index d174f8f48..6a3e714f1 100644 --- a/src/CPU/codegen_x86-64.c +++ b/src/CPU/codegen_x86-64.c @@ -1099,7 +1099,7 @@ generate_call: } } - 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/CPU/codegen_x86.c b/src/CPU/codegen_x86.c index cf5492040..80bc3dbcf 100644 --- a/src/CPU/codegen_x86.c +++ b/src/CPU/codegen_x86.c @@ -2039,7 +2039,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;