Fixed recompiler bug introduced by REP rework - Windows XP installer works again.

This commit is contained in:
SarahW 2017-07-28 20:30:10 +01:00
commit 40d7e02006
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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;