Handle REP prefixed instructions without a dedicated REP instruction handler properly in the recompiler. Fixes Windows XP setup.
This commit is contained in:
parent
9bba93e0be
commit
4846616924
1 changed files with 6 additions and 0 deletions
|
|
@ -485,6 +485,12 @@ generate_call:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
op = op_table[((opcode >> opcode_shift) | op_32) & opcode_mask];
|
op = op_table[((opcode >> opcode_shift) | op_32) & opcode_mask];
|
||||||
|
|
||||||
if (!test_modrm ||
|
if (!test_modrm ||
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue